Table of Contents

Interface IHasConstant

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Represents a member that can be assigned a constant value, and can be referenced by a HasConstant coded index.

public interface IHasConstant : IMetadataMember, INameProvider, IModuleProvider
Inherited Members

Properties

Constant

Gets or sets a constant that is assigned to the member.

Constant? Constant { get; set; }

Property Value

Constant

Remarks

If this property is set to null, the member is not assigned a constant value.

Updating this property does not update any of the attributes associated to the member.