Class SerializedUnionTypeRecord
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of UnionTypeRecord that is read from a PDB image.
public class SerializedUnionTypeRecord : UnionTypeRecord, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedUnionTypeRecord
- Implements
- Inherited Members
Constructors
SerializedUnionTypeRecord(PdbReaderContext, uint, BinaryStreamReader)
Reads a union type from the provided input stream.
public SerializedUnionTypeRecord(PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the type is situated in.
typeIndex
uintThe index to assign to the type.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetFields()
Obtains the fields defined in the type.
protected override FieldListLeaf? GetFields()
Returns
- FieldListLeaf
The fields.
Remarks
This method is called upon initialization of the Fields property.
GetName()
Obtains the new name of the type.
protected override Utf8String GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.
GetUniqueName()
Obtains the uniquely identifiable name of the type.
protected override Utf8String GetUniqueName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the UniqueName property.