Table of Contents

Class SerializedStandAloneSignature

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

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

public class SerializedStandAloneSignature : StandAloneSignature, IHasCustomAttribute, IMetadataMember
Inheritance
SerializedStandAloneSignature
Implements
Inherited Members
Extension Methods

Constructors

SerializedStandAloneSignature(ModuleReaderContext, MetadataToken, in StandAloneSignatureRow)

Creates a stand-alone signature from a stand-alone sig metadata row.

public SerializedStandAloneSignature(ModuleReaderContext context, MetadataToken token, in StandAloneSignatureRow row)

Parameters

context ModuleReaderContext

The reader context.

token MetadataToken

The token to initialize the signature for.

row StandAloneSignatureRow

The metadata table row to base the signature on.

Methods

GetCustomAttributes()

Obtains the list of custom attributes assigned to the member.

protected override IList<CustomAttribute> GetCustomAttributes()

Returns

IList<CustomAttribute>

The attributes

Remarks

This method is called upon initialization of the CustomAttributes property.

GetSignature()

Obtains the signature referenced by this metadata member.

protected override CallingConventionSignature? GetSignature()

Returns

CallingConventionSignature

The signature

Remarks

This method is called upon initialization of the Signature property.