1 instantiation of ThunkTask
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
557ThunkTask<T?> result = new();
12 references to ThunkTask
System.Private.CoreLib (12)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (12)
234ThunkTaskCore.MoveNext<ThunkTask<T>, Ops>(this); 239ThunkTaskCore.HandleSuspended<ThunkTask<T>, Ops>(this); 244Debug.Assert(state is ThunkTask<T>); 245((ThunkTask<T>)state).MoveNext(); 248private struct Ops : IThunkTaskOps<ThunkTask<T>> 250public static Action GetContinuationAction(ThunkTask<T> task) => (Action)task.m_action!; 251public static void MoveNext(ThunkTask<T> task) => task.MoveNext(); 252public static Continuation GetContinuationState(ThunkTask<T> task) => (Continuation)task.m_stateObject!; 253public static void SetContinuationState(ThunkTask<T> task, Continuation value) 258public static bool SetCompleted(ThunkTask<T> task, Continuation continuation) 280public static void PostToSyncContext(ThunkTask<T> task, SynchronizationContext syncContext) 557ThunkTask<T?> result = new();