Table of Contents

Class InlineSiteSymbol

Namespace
AsmResolver.Symbols.Pdb.Records
Assembly
AsmResolver.Symbols.Pdb.dll

Provides information about an inlined call site.

public class InlineSiteSymbol : CodeViewSymbol, IScopeCodeViewSymbol, ICodeViewSymbol, ICodeViewSymbolProvider
Inheritance
InlineSiteSymbol
Implements
Derived
Inherited Members

Constructors

InlineSiteSymbol()

Initializes an empty inline call site symbol.

protected InlineSiteSymbol()

InlineSiteSymbol(FunctionIdentifier)

Creates a new inline site symbol.

public InlineSiteSymbol(FunctionIdentifier inlinee)

Parameters

inlinee FunctionIdentifier

The function that is being inlined.

Properties

Annotations

Gets a collection of annotations to the instruction stream.

public IList<BinaryAnnotation> Annotations { get; }

Property Value

IList<BinaryAnnotation>

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

Inlinee

Gets or sets the identifier of the function that is being inlined.

public FunctionIdentifier? Inlinee { get; set; }

Property Value

FunctionIdentifier

Symbols

Gets the list of defined symbols.

public IList<ICodeViewSymbol> Symbols { get; }

Property Value

IList<ICodeViewSymbol>

Methods

GetAnnotations()

Obtains the collection of annotations added to the instruction stream.

protected virtual IList<BinaryAnnotation> GetAnnotations()

Returns

IList<BinaryAnnotation>

The annotations.

Remarks

This method is called upon initialization of the Annotations property.

GetInlinee()

Obtains the inlinee.

protected virtual FunctionIdentifier? GetInlinee()

Returns

FunctionIdentifier

The inlinee

Remarks

This method is called upon initialization of the Inlinee property.

GetSymbols()

Obtains the sub-symbols defined in this inline site.

protected virtual IList<ICodeViewSymbol> GetSymbols()

Returns

IList<ICodeViewSymbol>

The symbols.

Remarks

This method is called upon initialization of the Symbols property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.