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
Properties
Name
Gets the name of the method.
Utf8String? Name { get; }
Property Value
Signature
Gets the signature of the method.
MethodSignature? Signature { get; }
Property Value
Methods
Resolve()
Resolves the reference to a method definition.
MethodDefinition? Resolve()
Returns
- MethodDefinition
The resolved method definition, or
null
if the method could not be resolved.
Remarks
This method assumes the context module as the resolution context.
Resolve(ModuleDefinition)
Resolves the reference to a method definition, assuming the provided module as resolution context.
MethodDefinition? Resolve(ModuleDefinition context)
Parameters
context
ModuleDefinitionThe module to assume as resolution context.
Returns
- MethodDefinition
The resolved method definition, or
null
if the method could not be resolved.