1 instantiation of RuntimeAsyncTask
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
678
RuntimeAsyncTask result =
new
();
15 references to RuntimeAsyncTask
System.Private.CoreLib (15)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (15)
346
RuntimeAsyncTaskCore.DispatchContinuations<
RuntimeAsyncTask
, Ops>(this);
351
RuntimeAsyncTaskCore.HandleSuspended<
RuntimeAsyncTask
, Ops>(this);
363
Debug.Assert(state is
RuntimeAsyncTask
);
364
((
RuntimeAsyncTask
)state).MoveNext();
369
Debug.Assert(state is
RuntimeAsyncTask
);
370
((
RuntimeAsyncTask
)state).MoveNext();
373
private struct Ops : IRuntimeAsyncTaskOps<
RuntimeAsyncTask
>
375
public static Action GetContinuationAction(
RuntimeAsyncTask
task) => (Action)task.m_action!;
376
public static Continuation GetContinuationState(
RuntimeAsyncTask
task) => (Continuation)task.m_stateObject!;
377
public static void SetContinuationState(
RuntimeAsyncTask
task, Continuation value)
382
public static bool SetCompleted(
RuntimeAsyncTask
task)
387
public static void PostToSyncContext(
RuntimeAsyncTask
task, SynchronizationContext syncContext)
392
public static void ValueTaskSourceOnCompleted(
RuntimeAsyncTask
task, IValueTaskSourceNotifier vtsNotifier, ValueTaskSourceOnCompletedFlags configFlags)
397
public static ref byte GetResultStorage(
RuntimeAsyncTask
task) => ref Unsafe.NullRef<byte>();
678
RuntimeAsyncTask
result = new();