Class SerializedInstanceDataField
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of InstanceDataField that is read from a PDB image.
public class SerializedInstanceDataField : InstanceDataField, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedInstanceDataField
- Implements
- Inherited Members
Constructors
SerializedInstanceDataField(PdbReaderContext, uint, ref BinaryStreamReader)
Reads an instance data member list from the provided input stream.
public SerializedInstanceDataField(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.