Table of Contents

Interface INativeSymbolsProvider

Namespace
AsmResolver.DotNet.Code.Native
Assembly
AsmResolver.DotNet.dll

Provides members for obtaining references to external symbols.

public interface INativeSymbolsProvider

Methods

ImportSymbol(ISymbol)

Adds a single symbol to the prototype.

ISymbol ImportSymbol(ISymbol symbol)

Parameters

symbol ISymbol

The symbol to import.

Returns

ISymbol

The imported symbol.

RegisterBaseRelocation(BaseRelocation)

Adds a base relocation to the prototype.

void RegisterBaseRelocation(BaseRelocation relocation)

Parameters

relocation BaseRelocation

The relocation.

RegisterExportedSymbol(ExportedSymbol)

Adds an exported symbol to the prototype.

void RegisterExportedSymbol(ExportedSymbol symbol)

Parameters

symbol ExportedSymbol

The symbol to export.

RegisterExportedSymbol(ExportedSymbol, uint?)

Adds an exported symbol to the prototype.

void RegisterExportedSymbol(ExportedSymbol symbol, uint? newOrdinal)

Parameters

symbol ExportedSymbol

The symbol to export.

newOrdinal uint?