Table of Contents

Interface IMethodDescriptor

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Provides members for describing a method in a managed assembly.

public interface IMethodDescriptor : IMemberDescriptor, IFullNameProvider, INameProvider, IModuleProvider, IImportable, IMetadataMember
Inherited Members
Extension Methods

Properties

Name

Gets the name of the method.

Utf8String? Name { get; }

Property Value

Utf8String

Signature

Gets the signature of the method.

MethodSignature? Signature { get; }

Property Value

MethodSignature

Methods

Resolve(RuntimeContext?, out MethodDefinition?)

Attempts to resolve the method reference its definition, assuming the provided module as resolution context.

ResolutionStatus Resolve(RuntimeContext? context, out MethodDefinition? definition)

Parameters

context RuntimeContext

The context to assume when resolving the method.

definition MethodDefinition

The resolved method definition, or null if the method could not be resolved.

Returns

ResolutionStatus

A value describing the success or failure status of the method resolution.