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