Class CallSiteSymbol
- Namespace
- AsmResolver.Symbols.Pdb.Records
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides information about the signature of an indirect call.
public class CallSiteSymbol : CodeViewSymbol, ICodeViewSymbol
- Inheritance
-
CallSiteSymbol
- Implements
- Derived
- Inherited Members
Constructors
CallSiteSymbol()
Initializes an empty call site symbol.
protected CallSiteSymbol()
CallSiteSymbol(ushort, int, CodeViewTypeRecord)
Creates a new call site info symbol.
public CallSiteSymbol(ushort sectionIndex, int offset, CodeViewTypeRecord functionType)
Parameters
sectionIndex
ushortThe index of the section the call resides in.
offset
intThe offset to the call.
functionType
CodeViewTypeRecordThe type describing the shape of the function.
Properties
CodeViewSymbolType
Gets the type of symbol this record encodes.
public override CodeViewSymbolType CodeViewSymbolType { get; }
Property Value
FunctionType
Gets or sets the type describing the shape of the function that is called.
public CodeViewTypeRecord? FunctionType { get; set; }
Property Value
Offset
Gets or sets the offset to the call.
public int Offset { get; set; }
Property Value
SectionIndex
Gets or sets the index of the section the call resides in.
public ushort SectionIndex { get; set; }
Property Value
Methods
GetFunctionType()
Obtains the function type of the call.
protected virtual CodeViewTypeRecord? GetFunctionType()
Returns
- CodeViewTypeRecord
The type.
Remarks
This method is called upon initialization of the FunctionType property.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.