Class SerializedEnumerateField
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of EnumerateField that is read from a PDB image.
public class SerializedEnumerateField : EnumerateField, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedEnumerateField
- Implements
- Inherited Members
Constructors
SerializedEnumerateField(PdbReaderContext, uint, ref BinaryStreamReader)
Reads a enumerate field list from the provided input stream.
public SerializedEnumerateField(PdbReaderContext context, uint typeIndex, ref BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the enumerate field is situated in.
typeIndex
uintThe type index to assign to the enum type.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetName()
Obtains the name of the field.
protected override Utf8String GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.