3 instantiations of Continuation
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.cs (2)
34
state.SentinelContinuation = sentinelContinuation = new
Continuation
();
56
state.SentinelContinuation = sentinelContinuation = new
Continuation
();
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
232
state.SentinelContinuation = sentinelContinuation = new
Continuation
();
41 references to Continuation
System.Private.CoreLib (41)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.cs (2)
32
Continuation
? sentinelContinuation = state.SentinelContinuation;
54
Continuation
? sentinelContinuation = state.SentinelContinuation;
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (39)
89
public delegate*<
Continuation
, ref byte,
Continuation
?> Resume;
105
public
Continuation
? Next;
151
private static void AsyncSuspend(
Continuation
continuation) => throw new UnreachableException();
159
private static
Continuation
? AsyncCallContinuation() => throw new UnreachableException();
165
public
Continuation
? SentinelContinuation;
179
private static unsafe
Continuation
AllocContinuation(
Continuation
prevContinuation, MethodTable* contMT)
184
Continuation
newContinuation = (
Continuation
)RuntimeTypeHandle.InternalAllocNoChecks(contMT);
191
private static unsafe
Continuation
AllocContinuationMethod(
Continuation
prevContinuation, MethodTable* contMT, int keepAliveOffset, MethodDesc* method)
194
Continuation
newContinuation = (
Continuation
)RuntimeTypeHandle.InternalAllocNoChecks(contMT);
200
private static unsafe
Continuation
AllocContinuationClass(
Continuation
prevContinuation, MethodTable* contMT, int keepAliveOffset, MethodTable* methodTable)
204
Continuation
newContinuation = (
Continuation
)RuntimeTypeHandle.InternalAllocNoChecks(contMT);
230
Continuation
? sentinelContinuation = state.SentinelContinuation;
249
static abstract
Continuation
MoveContinuationState(T task);
250
static abstract void SetContinuationState(T task,
Continuation
value);
308
public static
Continuation
MoveContinuationState(RuntimeAsyncTask<T> task)
310
Continuation
continuation = (
Continuation
)task.m_stateObject!;
315
public static void SetContinuationState(RuntimeAsyncTask<T> task,
Continuation
value)
391
public static
Continuation
MoveContinuationState(RuntimeAsyncTask task)
393
Continuation
continuation = (
Continuation
)task.m_stateObject!;
398
public static void SetContinuationState(RuntimeAsyncTask task,
Continuation
value)
439
public
Continuation
? NextContinuation;
462
Continuation
curContinuation = dispatcherInfo.NextContinuation;
463
Continuation
? nextContinuation = curContinuation.Next;
467
Continuation
? newContinuation = curContinuation.ResumeInfo->Resume(curContinuation, ref resultLoc);
480
Continuation
? handlerContinuation = UnwindToPossibleHandler(dispatcherInfo.NextContinuation);
529
private static
Continuation
? UnwindToPossibleHandler(
Continuation
? continuation)
554
Continuation
sentinelContinuation = state.SentinelContinuation!;
555
Continuation
headContinuation = sentinelContinuation.Next!;
623
private static bool QueueContinuationFollowUpActionIfNecessary<T, TOps>(T task,
Continuation
continuation) where T : Task where TOps : IRuntimeAsyncTaskOps<T>