Table of Contents

Interface IFieldDescriptor

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Provides members for describing a field in a managed assembly.

public interface IFieldDescriptor : IMemberDescriptor, IFullNameProvider, INameProvider, IModuleProvider, IImportable, IMetadataMember
Inherited Members

Properties

Name

Gets the name of the field.

Utf8String? Name { get; }

Property Value

Utf8String

Signature

Gets the signature of the field.

FieldSignature? Signature { get; }

Property Value

FieldSignature

Methods

Resolve()

Resolves the reference to a field definition.

FieldDefinition? Resolve()

Returns

FieldDefinition

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

Remarks

This method assumes the context module as the resolution context.

Resolve(ModuleDefinition)

Resolves the reference to a field definition, assuming the provided module as resolution context.

FieldDefinition? Resolve(ModuleDefinition context)

Parameters

context ModuleDefinition

The module to assume as resolution context.

Returns

FieldDefinition

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