Table of Contents

Class MemberSignature

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

Provides a base for all member signatures.

public abstract class MemberSignature : CallingConventionSignature, IImportable
Inheritance
MemberSignature
Implements
Derived
Inherited Members

Constructors

MemberSignature(CallingConventionAttributes, TypeSignature)

Initializes a new member signature.

protected MemberSignature(CallingConventionAttributes attributes, TypeSignature memberReturnType)

Parameters

attributes CallingConventionAttributes

The attributes of the signature.

memberReturnType TypeSignature

The type of the object this member returns or contains.

Properties

MemberReturnType

Gets the type of the object this member returns or contains.

protected TypeSignature MemberReturnType { get; set; }

Property Value

TypeSignature

Methods

IsImportedInModule(ModuleDefinition)

Determines whether the descriptor of the member is fully imported in the provided module.

public override bool IsImportedInModule(ModuleDefinition module)

Parameters

module ModuleDefinition

The module that is supposed to import the member.

Returns

bool

true if the descriptor of the member is fully imported by the module, false otherwise.

Remarks

This method verifies all references in the descriptor of the member only. It does not verify any additional data or contents (such as a method body) associated to the member.