IDkmClrSymbolCallback.GetAsyncMethodLocation(DkmClrInstructionSymbol) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the location of the instruction symbol in it's method.
public:
Microsoft::VisualStudio::Debugger::Clr::DkmClrAsyncMethodLocation GetAsyncMethodLocation(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
public:
Microsoft::VisualStudio::Debugger::Clr::DkmClrAsyncMethodLocation GetAsyncMethodLocation(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
Microsoft::VisualStudio::Debugger::Clr::DkmClrAsyncMethodLocation GetAsyncMethodLocation(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol const & clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrAsyncMethodLocation GetAsyncMethodLocation (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
abstract member GetAsyncMethodLocation : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol -> Microsoft.VisualStudio.Debugger.Clr.DkmClrAsyncMethodLocation
Public Function GetAsyncMethodLocation (clrInstruction As DkmClrInstructionSymbol) As DkmClrAsyncMethodLocation
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] The location of the given instruction.