Class SerializedStaticDataField
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of StaticDataField that is read from a PDB image.
public class SerializedStaticDataField : StaticDataField, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedStaticDataField
- Implements
- Inherited Members
Constructors
SerializedStaticDataField(PdbReaderContext, uint, ref BinaryStreamReader)
Reads a static data member list from the provided input stream.
public SerializedStaticDataField(PdbReaderContext context, uint typeIndex, ref BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the member is situated in.
typeIndex
uintThe type index to assign to the member.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetDataType()
Obtains the data type of the member.
protected override CodeViewTypeRecord? GetDataType()
Returns
- CodeViewTypeRecord
The data type.
Remarks
This method is called upon initialization of the DataType property.
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.