Table of Contents

Class DynamicTypeSignatureResolver

Namespace
AsmResolver.DotNet.Dynamic
Assembly
AsmResolver.DotNet.Dynamic.dll

Provides an implementation for the ITypeSignatureResolver that resolves metadata tokens from the underlying module's tables stream, and is able to transform addresses referencing method tables in the current process to type signatures.

public class DynamicTypeSignatureResolver : PhysicalTypeSignatureResolver, ITypeSignatureResolver
Inheritance
DynamicTypeSignatureResolver
Implements
Inherited Members

Properties

Instance

Gets the singleton instance of the DynamicTypeSignatureResolver class.

public static DynamicTypeSignatureResolver Instance { get; }

Property Value

DynamicTypeSignatureResolver

IsSupported

Gets a value indicating whether dynamic resolution of method tables is supported.

public static bool IsSupported { get; }

Property Value

bool

Methods

ResolveRuntimeType(ref BlobReaderContext, nint)

Resolves an address to a runtime method table to a type signature.

public override TypeSignature ResolveRuntimeType(ref BlobReaderContext context, nint address)

Parameters

context BlobReaderContext

The blob reading context the type is situated in.

address nint

The address to resolve.

Returns

TypeSignature

The type.