Table of Contents

Class FunctionIdentifier

Namespace
AsmResolver.Symbols.Pdb.Leaves
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a function identifier, consisting of its name and its signature.

public class FunctionIdentifier : CodeViewLeaf, IIpiLeaf, ICodeViewLeaf
Inheritance
FunctionIdentifier
Implements
Derived
Inherited Members

Constructors

FunctionIdentifier(uint)

Initializes an empty function identifier leaf.

protected FunctionIdentifier(uint typeIndex)

Parameters

typeIndex uint

The type index.

FunctionIdentifier(uint, Utf8String, CodeViewTypeRecord)

Creates a new function identifier leaf.

public FunctionIdentifier(uint scopeId, Utf8String name, CodeViewTypeRecord functionType)

Parameters

scopeId uint

The identifier of the scope defining the function (if available).

name Utf8String

The name of the function.

functionType CodeViewTypeRecord

The type describing the shape of the function.

Properties

FunctionType

Gets or sets the type describing the shape of the function.

public CodeViewTypeRecord? FunctionType { get; set; }

Property Value

CodeViewTypeRecord

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

Name

Gets or sets the name of the function.

public Utf8String? Name { get; set; }

Property Value

Utf8String

ScopeId

Gets or sets the identifier of the scope defining the function (if available).

public uint ScopeId { get; set; }

Property Value

uint

Methods

GetFunctionType()

Obtains the type of the function.

protected virtual 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 virtual Utf8String? GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.