Class SerializedProcedureSymbol
- Namespace
- AsmResolver.Symbols.Pdb.Records.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a lazily initialized implementation of ProcedureSymbol that is read from a PDB image.
public class SerializedProcedureSymbol : ProcedureSymbol, IScopeCodeViewSymbol, ICodeViewSymbol, ICodeViewSymbolProvider
- Inheritance
-
SerializedProcedureSymbol
- Implements
- Inherited Members
Constructors
SerializedProcedureSymbol(PdbReaderContext, BinaryStreamReader, bool, bool)
Reads a procedure symbol from the provided input stream.
public SerializedProcedureSymbol(PdbReaderContext context, BinaryStreamReader reader, bool isGlobal, bool isId)
Parameters
context
PdbReaderContextThe reading context in which the symbol is situated in.
reader
BinaryStreamReaderThe input stream to read from.
isGlobal
boolIndicates the symbol is a global symbol.
isId
boolIndicates the symbol references a function ID instead of a procedure type.
Methods
GetFunctionType()
Obtains the function type of this procedure.
protected override CodeViewLeaf? GetFunctionType()
Returns
- CodeViewLeaf
The function type.
Remarks
This method is called upon initialization of the Type property.
GetName()
Obtains the name of this procedure.
protected override Utf8String GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.