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
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
BlobReaderContextThe blob reading context the type is situated in.
address
nintThe 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
BlobReaderContextThe blob reading context the type is situated in.
token
MetadataTokenThe token to resolve.
Returns
- ITypeDefOrRef
The type.