Table of Contents

Class SerializedLocalSymbol

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

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

public class SerializedLocalSymbol : LocalSymbol, IVariableSymbol, ICodeViewSymbol
Inheritance
SerializedLocalSymbol
Implements
Inherited Members

Constructors

SerializedLocalSymbol(PdbReaderContext, BinaryStreamReader)

Reads a local variable symbol from the provided input stream.

public SerializedLocalSymbol(PdbReaderContext context, BinaryStreamReader reader)

Parameters

context PdbReaderContext

The reading context in which the symbol is situated in.

reader BinaryStreamReader

The input stream to read from.

Methods

GetName()

Obtains the name of the variable.

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.