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