Class SerializedEnumTypeRecord
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of EnumTypeRecord that is read from a PDB image.
public class SerializedEnumTypeRecord : EnumTypeRecord, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedEnumTypeRecord
- Implements
- Inherited Members
Constructors
SerializedEnumTypeRecord(PdbReaderContext, uint, BinaryStreamReader)
Reads a constant symbol from the provided input stream.
public SerializedEnumTypeRecord(PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the symbol is situated in.
typeIndex
uintThe type index to assign to the enum type.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetBaseType()
Obtains the type that the type is derived from.
protected override CodeViewTypeRecord? GetBaseType()
Returns
- CodeViewTypeRecord
The type.
Remarks
This method is called upon initialization of the BaseType property.
GetFields()
Obtains the fields defined in the type.
protected override FieldListLeaf? GetFields()
Returns
- FieldListLeaf
The fields.
Remarks
This method is called upon initialization of the Fields property.
GetName()
Obtains the new name of the type.
protected override Utf8String GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.