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