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