Class EnumTypeRecord
- Namespace
- AsmResolver.Symbols.Pdb.Leaves
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents an enum type.
public class EnumTypeRecord : CodeViewDerivedTypeRecord, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
EnumTypeRecord
- Implements
- Derived
- Inherited Members
Constructors
EnumTypeRecord(Utf8String, CodeViewTypeRecord, StructureAttributes)
Creates a new enum type.
public EnumTypeRecord(Utf8String name, CodeViewTypeRecord underlyingType, StructureAttributes attributes)
Parameters
name
Utf8StringThe name of the enum.
underlyingType
CodeViewTypeRecordThe underlying type of all members in the enum.
attributes
StructureAttributesThe structural attributes assigned to the enum.
EnumTypeRecord(uint)
Initializes a new empty enum type.
protected EnumTypeRecord(uint typeIndex)
Parameters
typeIndex
uintThe type index to assign to the enum type.
Properties
LeafKind
Gets the type kind this record encodes.
public override CodeViewLeafKind LeafKind { get; }