IDkmClrSymbolCallback120.GetMethodLocalSymbols Method

Definition

Returns the scopes within a method. There will always be at least one scope.

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> ^ GetMethodLocalSymbols(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
std::Array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> GetMethodLocalSymbols(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol const & clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[] GetMethodLocalSymbols (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]? GetMethodLocalSymbols (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
abstract member GetMethodLocalSymbols : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]
Public Function GetMethodLocalSymbols (clrInstruction As DkmClrInstructionSymbol) As DkmClrMethodScopeData()

Parameters

clrInstruction
DkmClrInstructionSymbol

[In] DkmClrInstructionSymbol represents an IL instruction that runs under the Common Language Runtime (CLR) in the target process. This object contains the method version number. So in Edit-and-Continue scenarios, the instruction symbol would be different for different versions of the method. This object does not contain information about generic binding parameters. So different generic instantiations of a method (ex: MyMethod<string> and MyMethod<int>) are represented by the same instruction symbol since the CLR represents them with a single method token.

Returns

[Out] DkmClrMethodScopeData[] describes a scope within a method. These are defined using ISymUnmanagedWriter::OpenScope/CloseScope.

Applies to