SymbolCallerInfo Struct

Definition

Contains information about a call from one symbol to another. The symbol making the call is stored in CallingSymbol and the symbol that the call was made to is stored in CalledSymbol. Whether or not the call is direct or indirect is also stored. A direct call is a call that does not go through any other symbols in the inheritance hierarchy of CalledSymbol, while an indirect call does go through the inheritance hierarchy. For example, calls through a base member that this symbol overrides, or through an interface member that this symbol implements will be considered 'indirect'.

public value class SymbolCallerInfo
public struct SymbolCallerInfo
public readonly struct SymbolCallerInfo
type SymbolCallerInfo = struct
Public Structure SymbolCallerInfo
Inheritance
SymbolCallerInfo

Properties

CalledSymbol

The symbol being called.

CallingSymbol

The symbol that is calling the symbol being called.

IsDirect

True if the CallingSymbol is directly calling CalledSymbol. False if it is calling a symbol in the inheritance hierarchy of the CalledSymbol. For example, if the called symbol is a class method, then an indirect call might be through an interface method that the class method implements.

Locations

The locations inside the calling symbol where the called symbol is referenced.

Applies to