ISymUnmanagedAsyncMethodPropertiesWriter::DefineAsyncStepInfo Method

Define a group of async await operations in the current method.

Each yield offset matches an await's return instruction, identifying a potential yield. Each breakpointMethod/breakpointOffset pair tells us where the asynchronous operation will resume which could be in a different method.

Syntax

HRESULT DefineAsyncStepInfo(    [in] ULONG32 count,    [in, size_is(count)] ULONG32 yieldOffsets[],    [in, size_is(count)] ULONG32 breakpointOffset[],     [in, size_is(count)] mdToken breakpointMethod[]);  

Parameters

Parameter Description
count
yieldOffsets
breakpointOffset
breakpointMethod

Return Value

Returns HRESULT.

Requirements

Header: CorSym.idl, CorSym.h

See also