IDkmClrSymbolCallback.GetMethodSymbolStoreDataPreRemap Method

Definition

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

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodScopeData> ^ GetMethodSymbolStoreDataPreRemap(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId methodId, [Runtime::InteropServices::Out] int % remapToken);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[] GetMethodSymbolStoreDataPreRemap (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId methodId, out int remapToken);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]? GetMethodSymbolStoreDataPreRemap (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId methodId, out int remapToken);
abstract member GetMethodSymbolStoreDataPreRemap : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * int -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData[]
Public Function GetMethodSymbolStoreDataPreRemap (module As DkmModule, methodId As DkmClrMethodId, ByRef remapToken As Integer) As DkmClrMethodScopeData()

Parameters

module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

methodId
DkmClrMethodId

[In] Method Id PreRemap.

remapToken
Int32

[Out] Method token after the Remap.

Returns

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

Applies to