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