Class SerializedUserDefinedTypeSymbol
- Namespace
- AsmResolver.Symbols.Pdb.Records.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a lazily initialized implementation of UserDefinedTypeSymbol that is read from a PDB image.
public class SerializedUserDefinedTypeSymbol : UserDefinedTypeSymbol, ICodeViewSymbol
- Inheritance
-
SerializedUserDefinedTypeSymbol
- Implements
- Inherited Members
Constructors
SerializedUserDefinedTypeSymbol(PdbReaderContext, BinaryStreamReader)
Reads a user-defined type symbol from the provided input stream.
public SerializedUserDefinedTypeSymbol(PdbReaderContext context, BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the symbol is situated in.
reader
BinaryStreamReaderThe input stream to read from.
Methods
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.
GetSymbolType()
Obtains the type that is referenced by this symbol.
protected override CodeViewTypeRecord? GetSymbolType()
Returns
- CodeViewTypeRecord
The type.
Remarks
This method is called upon initialization of the Type property.