Table of Contents

Class SerializedImplementationMap

Namespace
AsmResolver.DotNet.Serialized
Assembly
AsmResolver.DotNet.dll

Represents a lazily initialized implementation of ImplementationMap that is read from a .NET metadata image.

public class SerializedImplementationMap : ImplementationMap, IMetadataMember, IFullNameProvider, INameProvider
Inheritance
SerializedImplementationMap
Implements
Inherited Members

Constructors

SerializedImplementationMap(ModuleReaderContext, MetadataToken, in ImplementationMapRow)

Creates a member reference from an implementation map metadata row.

public SerializedImplementationMap(ModuleReaderContext context, MetadataToken token, in ImplementationMapRow row)

Parameters

context ModuleReaderContext

The reader context.

token MetadataToken

The token to initialize the mapping for.

row ImplementationMapRow

The metadata table row to base the mapping on.

Methods

GetMemberForwarded()

Obtains the owner of the P/Invoke implementation mapping.

protected override IMemberForwarded? GetMemberForwarded()

Returns

IMemberForwarded

The owner.

Remarks

This method is called upon initialization of the MemberForwarded property.

GetName()

Obtains the name of the imported member.

protected override Utf8String? GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

GetScope()

Obtains the scope that declares the imported member.

protected override ModuleReference? GetScope()

Returns

ModuleReference

The scope.

Remarks

This method is called upon initialization of the Scope property.