IDkmClrSymbolCallback.GetAllAwaitExpressionInfoForStatement 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 yield and resume points contained within the statement surrounding the given instruction symbol.
public:
cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmClrAwaitExpressionInfo> ^ GetAllAwaitExpressionInfoForStatement(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
public:
Platform::Array <Microsoft::VisualStudio::Debugger::Clr::DkmClrAwaitExpressionInfo> ^ GetAllAwaitExpressionInfoForStatement(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction);
std::Array <Microsoft::VisualStudio::Debugger::Clr::DkmClrAwaitExpressionInfo> GetAllAwaitExpressionInfoForStatement(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol const & clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrAwaitExpressionInfo[] GetAllAwaitExpressionInfoForStatement (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrAwaitExpressionInfo[]? GetAllAwaitExpressionInfoForStatement (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction);
abstract member GetAllAwaitExpressionInfoForStatement : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol -> Microsoft.VisualStudio.Debugger.Clr.DkmClrAwaitExpressionInfo[]
Public Function GetAllAwaitExpressionInfoForStatement (clrInstruction As DkmClrInstructionSymbol) As DkmClrAwaitExpressionInfo()
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] An array of the yield and resume points for the statement.