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
PdbReaderContextThe reading context in which the identifier is situated in.
typeIndex
uintThe type index to assign to the identifier.
reader
BinaryStreamReaderThe 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.