1 instantiation of ThunkTask
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
570
ThunkTask result =
new
();
12 references to ThunkTask
System.Private.CoreLib (12)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (12)
306
ThunkTaskCore.MoveNext<
ThunkTask
, Ops>(this);
311
ThunkTaskCore.HandleSuspended<
ThunkTask
, Ops>(this);
316
Debug.Assert(state is
ThunkTask
);
317
((
ThunkTask
)state).MoveNext();
320
private struct Ops : IThunkTaskOps<
ThunkTask
>
322
public static Action GetContinuationAction(
ThunkTask
task) => (Action)task.m_action!;
323
public static void MoveNext(
ThunkTask
task) => task.MoveNext();
324
public static Continuation GetContinuationState(
ThunkTask
task) => (Continuation)task.m_stateObject!;
325
public static void SetContinuationState(
ThunkTask
task, Continuation value)
330
public static bool SetCompleted(
ThunkTask
task, Continuation continuation)
335
public static void PostToSyncContext(
ThunkTask
task, SynchronizationContext syncContext)
570
ThunkTask
result = new();