Table of Contents

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 CodeViewFieldAttributes

The attributes associated to this method.

function MemberFunctionLeaf

The referenced function.

MethodListEntry(CodeViewFieldAttributes, MemberFunctionLeaf, uint)

Creates a new method list entry.

public MethodListEntry(CodeViewFieldAttributes attributes, MemberFunctionLeaf function, uint vTableOffset)

Parameters

attributes CodeViewFieldAttributes

The attributes associated to this method.

function MemberFunctionLeaf

The referenced function.

vTableOffset uint

The 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

CodeViewFieldAttributes

Function

Gets or sets the function that is referenced by this method.

public MemberFunctionLeaf? Function { get; set; }

Property Value

MemberFunctionLeaf

IsIntroducingVirtual

Gets a value indicating whether the function is a newly introduced virtual function.

public bool IsIntroducingVirtual { get; }

Property Value

bool

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

uint

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.