52 references to AsyncStateMachineDispatcherInfo
System.Private.CoreLib (52)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.CoreCLR.cs (5)
23AsyncStateMachineDispatcherInfo* v1 = AsyncStateMachineDispatcherInfo.t_current; 521AsyncStateMachineDispatcherInfo* stateMachineAsyncInfo = AsyncStateMachineDispatcherInfo.t_current; 526private static unsafe void ResumeAsyncCallstacks(AsyncDispatcherInfo* runtimeAsyncInfo, AsyncStateMachineDispatcherInfo* stateMachineAsyncInfo, AsyncThreadContext context)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.cs (13)
907public static ulong GetDispatcherId(ref AsyncStateMachineDispatcherInfo info) => 921public static void Create(ref AsyncStateMachineDispatcherInfo info, IAsyncStateMachineDispatcher dispatcher) 966public static void Append(ref AsyncStateMachineDispatcherInfo info) 1002public static void Resume(ref AsyncStateMachineDispatcherInfo info) 1011public static void Resume(ref AsyncStateMachineDispatcherInfo info, AsyncThreadContext context, ulong dispatcherId, EventKeywords activeEventKeywords) 1033public static void Append(ref AsyncStateMachineDispatcherInfo info, AsyncThreadContext context, long currentTimestamp) 1041public static void Append(ref AsyncStateMachineDispatcherInfo info, IAsyncStateMachineBox enteringBox, AsyncThreadContext context, long currentTimestamp) 1095public static void Complete(ref AsyncStateMachineDispatcherInfo info) 1128public static void UnwindFrames(ref AsyncStateMachineDispatcherInfo info, uint unwindedFrames) 1158public static void Resume(ref AsyncStateMachineDispatcherInfo info, IAsyncStateMachineBox box) 1195public static void Complete(ref AsyncStateMachineDispatcherInfo info) 1605public static void EmitEvent(ref AsyncStateMachineDispatcherInfo info, AsyncThreadContext context, long currentTimestamp, ulong dispatcherId) 1623public static void EmitEvent(ref AsyncStateMachineDispatcherInfo info, AsyncThreadContext context, object? continuation, long currentTimestamp, AsyncEventID eventID, ulong dispatcherId)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncStateMachineDispatcher.cs (15)
15public AsyncStateMachineDispatcherInfo* Next; 34internal static unsafe AsyncStateMachineDispatcherInfo* t_current; 80AsyncStateMachineDispatcherInfo* info = AsyncStateMachineDispatcherInfo.t_current; 122private static unsafe void EmitCreateAsyncContext(AsyncStateMachineDispatcherInfo* info, IAsyncStateMachineDispatcher dispatcher, AsyncInstrumentation.Flags flags) 144AsyncStateMachineDispatcherInfo* info = t_current; 163AsyncStateMachineDispatcherInfo* info = t_current; 185private static unsafe void ResumeAsyncMethod(AsyncStateMachineDispatcherInfo* info, IAsyncStateMachineBox box, bool methodEventEnabled, bool callstackEnabled) 200internal static bool SuspendOrCompleteContext(ref AsyncStateMachineDispatcherInfo info, AsyncInstrumentation.Flags flags) 241AsyncStateMachineDispatcherInfo* info = t_current; 294AsyncStateMachineDispatcherInfo info; 295ref AsyncStateMachineDispatcherInfo* refInfo = ref AsyncStateMachineDispatcherInfo.t_current; 296AsyncStateMachineDispatcherInfo* refPreviousInfo = refInfo; 319AsyncStateMachineDispatcherInfo.SuspendOrCompleteContext(ref info, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (6)
69box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags); 152box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags); 506AsyncStateMachineDispatcherInfo.ResumeAsyncMethod(this, flags); 587if (AsyncStateMachineDispatcherInfo.IsSupported) 669AsyncStateMachineDispatcherInfo.CompleteAsyncMethod(task, flags); 707AsyncStateMachineDispatcherInfo.UnwindAsyncFrame(task, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs (2)
109box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags); 222box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (5)
123ibox = AsyncStateMachineDispatcherInfo.CreateDispatcher(ibox, flags); 263AsyncStateMachineDispatcherInfo.CompleteAsyncMethod(this, flags); 278AsyncStateMachineDispatcherInfo.UnwindAsyncFrame(this, flags); 437AsyncStateMachineDispatcherInfo.ResumeAsyncMethod(this, flags); 485if (AsyncStateMachineDispatcherInfo.IsSupported)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (2)
206stateMachineBox = AsyncStateMachineDispatcherInfo.CreateDispatcher(stateMachineBox, flags); 220stateMachineBox = AsyncStateMachineDispatcherInfo.CreateDispatcher(stateMachineBox, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs (2)
101box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags); 191box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (1)
124box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
789box = AsyncStateMachineDispatcherInfo.CreateDispatcher(box, flags);