Share via


IDkmMCppSymbolProvider.GetManagedCppMethodScope Method

Definition

Returns symbol information concerning the innermost active scope of the location indicated by the given instruction symbol, which is assumed to have been compiled with managed C++.

public:
 Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppMethodScope ^ GetManagedCppMethodScope(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction, Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppInspectionSession ^ inspectionSession);
public Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope GetManagedCppMethodScope (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction, Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppInspectionSession inspectionSession);
abstract member GetManagedCppMethodScope : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol * Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppInspectionSession -> Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope
Public Function GetManagedCppMethodScope (clrInstruction As DkmClrInstructionSymbol, inspectionSession As DkmNativeCppInspectionSession) As DkmMCppMethodScope

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.

inspectionSession
DkmNativeCppInspectionSession

[In] Inspection session to use for the creation of native C++ types, if needed.

Returns

[Out] The innermost active scope of the given instruction symbol.

Applies to