Table of Contents

Class PhysicalTypeSignatureResolver

Namespace
AsmResolver.DotNet.Signatures
Assembly
AsmResolver.DotNet.dll

Provides an implementation for the ITypeSignatureResolver that resolves metadata tokens from the underlying module's tables stream.

public class PhysicalTypeSignatureResolver : ITypeSignatureResolver
Inheritance
PhysicalTypeSignatureResolver
Implements
Derived
Inherited Members

Properties

Instance

Gets the singleton instance of the PhysicalTypeSignatureResolver class.

public static PhysicalTypeSignatureResolver Instance { get; }

Property Value

PhysicalTypeSignatureResolver

Methods

ResolveRuntimeType(ref BlobReaderContext, nint)

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

public virtual 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.

ResolveToken(ref BlobReaderContext, MetadataToken)

Resolves a metadata token to a type.

public virtual ITypeDefOrRef ResolveToken(ref BlobReaderContext context, MetadataToken token)

Parameters

context BlobReaderContext

The blob reading context the type is situated in.

token MetadataToken

The token to resolve.

Returns

ITypeDefOrRef

The type.