1 instantiation of RuntimeAsyncTask
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
615
RuntimeAsyncTask result =
new
();
12 references to RuntimeAsyncTask
System.Private.CoreLib (12)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (12)
335
RuntimeAsyncTaskCore.DispatchContinuations<
RuntimeAsyncTask
, Ops>(this);
340
RuntimeAsyncTaskCore.HandleSuspended<
RuntimeAsyncTask
, Ops>(this);
352
Debug.Assert(state is
RuntimeAsyncTask
);
353
((
RuntimeAsyncTask
)state).MoveNext();
356
private struct Ops : IRuntimeAsyncTaskOps<
RuntimeAsyncTask
>
358
public static Action GetContinuationAction(
RuntimeAsyncTask
task) => (Action)task.m_action!;
359
public static void MoveNext(
RuntimeAsyncTask
task) => task.MoveNext();
360
public static Continuation GetContinuationState(
RuntimeAsyncTask
task) => (Continuation)task.m_stateObject!;
361
public static void SetContinuationState(
RuntimeAsyncTask
task, Continuation value)
366
public static bool SetCompleted(
RuntimeAsyncTask
task, Continuation continuation)
371
public static void PostToSyncContext(
RuntimeAsyncTask
task, SynchronizationContext syncContext)
615
RuntimeAsyncTask
result = new();