Table of Contents

Class SerializedConstantSymbol

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

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

public class SerializedConstantSymbol : ConstantSymbol, ICodeViewSymbol
Inheritance
SerializedConstantSymbol
Implements
Inherited Members

Constructors

SerializedConstantSymbol(PdbReaderContext, BinaryStreamReader)

Reads a constant symbol from the provided input stream.

public SerializedConstantSymbol(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

GetConstantType()

Obtains the value type of the constant.

protected override CodeViewTypeRecord? GetConstantType()

Returns

CodeViewTypeRecord

The name.

Remarks

This method is called upon initialization of the Type property.

GetName()

Obtains the name of the constant.

protected override Utf8String GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.