Table of Contents

Class SerializedDataSymbol

Namespace
AsmResolver.Symbols.Pdb.Records.Serialized
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a lazily initialized implementation of DataSymbol that is read from a PDB image.

public class SerializedDataSymbol : DataSymbol, IVariableSymbol, ICodeViewSymbol
Inheritance
SerializedDataSymbol
Implements
Inherited Members

Constructors

SerializedDataSymbol(PdbReaderContext, BinaryStreamReader, bool)

Reads a data symbol from the provided input stream.

public SerializedDataSymbol(PdbReaderContext context, BinaryStreamReader reader, bool isGlobal)

Parameters

context PdbReaderContext

The reading context in which the symbol is situated in.

reader BinaryStreamReader

The input stream to read from.

isGlobal bool

Indicates the symbol is a global data symbol.

Methods

GetName()

Obtains the name of the symbol.

protected override Utf8String GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

GetVariableType()

Obtains the type of the variable.

protected override CodeViewTypeRecord? GetVariableType()

Returns

CodeViewTypeRecord

The type.

Remarks

This method is called upon initialization of the VariableType property.