Class MethodListEntry
- Namespace
- AsmResolver.Symbols.Pdb.Leaves
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents one single entry in a list of overloaded methods.
public class MethodListEntry
- Inheritance
-
MethodListEntry
- Derived
- Inherited Members
Constructors
MethodListEntry()
Initializes an empty method list entry.
protected MethodListEntry()
MethodListEntry(CodeViewFieldAttributes, MemberFunctionLeaf)
Creates a new method list entry.
public MethodListEntry(CodeViewFieldAttributes attributes, MemberFunctionLeaf function)
Parameters
attributes
CodeViewFieldAttributesThe attributes associated to this method.
function
MemberFunctionLeafThe referenced function.
MethodListEntry(CodeViewFieldAttributes, MemberFunctionLeaf, uint)
Creates a new method list entry.
public MethodListEntry(CodeViewFieldAttributes attributes, MemberFunctionLeaf function, uint vTableOffset)
Parameters
attributes
CodeViewFieldAttributesThe attributes associated to this method.
function
MemberFunctionLeafThe referenced function.
vTableOffset
uintThe offset to the slot the virtual function table that this method occupies.
Properties
Attributes
Gets or sets the attributes associated to this method.
public CodeViewFieldAttributes Attributes { get; set; }
Property Value
Function
Gets or sets the function that is referenced by this method.
public MemberFunctionLeaf? Function { get; set; }
Property Value
IsIntroducingVirtual
Gets a value indicating whether the function is a newly introduced virtual function.
public bool IsIntroducingVirtual { get; }
Property Value
VTableOffset
When this method is an introducing virtual method, gets or sets the offset to the slot the virtual function table that this method occupies.
public uint VTableOffset { get; set; }
Property Value
Methods
GetFunction()
Obtains the function that this method references.
protected virtual MemberFunctionLeaf? GetFunction()
Returns
- MemberFunctionLeaf
The function.
Remarks
This method is called upon initialization of the Function property.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.