Table of Contents

Class SerializedFunctionIdentifier

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

Provides a lazily initialized implementation of FunctionIdentifier that is read from a PDB image.

public class SerializedFunctionIdentifier : FunctionIdentifier, IIpiLeaf, ICodeViewLeaf
Inheritance
SerializedFunctionIdentifier
Implements
Inherited Members

Constructors

SerializedFunctionIdentifier(PdbReaderContext, uint, BinaryStreamReader)

Reads a function identifier from the provided input stream.

public SerializedFunctionIdentifier(PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)

Parameters

context PdbReaderContext

The reading context in which the identifier is situated in.

typeIndex uint

The type index to assign to the identifier.

reader BinaryStreamReader

The input stream to read from.

Methods

GetFunctionType()

Obtains the type of the function.

protected override CodeViewTypeRecord? GetFunctionType()

Returns

CodeViewTypeRecord

The type.

Remarks

This method is called upon initialization of the FunctionType property.

GetName()

Obtains the name of the function.

protected override Utf8String GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.