1 instantiation of RuntimeAsyncTask
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
693
RuntimeAsyncTask<T?> result =
new
();
15 references to RuntimeAsyncTask
System.Private.CoreLib (15)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (15)
278
RuntimeAsyncTaskCore.DispatchContinuations<
RuntimeAsyncTask
<T>, Ops>(this);
283
RuntimeAsyncTaskCore.HandleSuspended<
RuntimeAsyncTask
<T>, Ops>(this);
295
Debug.Assert(state is
RuntimeAsyncTask
<T>);
296
((
RuntimeAsyncTask
<T>)state).MoveNext();
301
Debug.Assert(state is
RuntimeAsyncTask
<T>);
302
((
RuntimeAsyncTask
<T>)state).MoveNext();
305
private struct Ops : IRuntimeAsyncTaskOps<
RuntimeAsyncTask
<T>>
307
public static Action GetContinuationAction(
RuntimeAsyncTask
<T> task) => (Action)task.m_action!;
308
public static Continuation MoveContinuationState(
RuntimeAsyncTask
<T> task)
315
public static void SetContinuationState(
RuntimeAsyncTask
<T> task, Continuation value)
321
public static bool SetCompleted(
RuntimeAsyncTask
<T> task)
326
public static void PostToSyncContext(
RuntimeAsyncTask
<T> task, SynchronizationContext syncContext)
331
public static void ValueTaskSourceOnCompleted(
RuntimeAsyncTask
<T> task, IValueTaskSourceNotifier vtsNotifier, ValueTaskSourceOnCompletedFlags configFlags)
336
public static ref byte GetResultStorage(
RuntimeAsyncTask
<T> task) => ref Unsafe.As<T?, byte>(ref task.m_result);
693
RuntimeAsyncTask
<T?> result = new();