63 references to IAsyncStateMachine
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
90
(typeof(
IAsyncStateMachine
).IsAssignableFrom(type) || typeof(IEnumerator).IsAssignableFrom(type)))
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
90
(typeof(
IAsyncStateMachine
).IsAssignableFrom(type) || typeof(IEnumerator).IsAssignableFrom(type)))
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
90
(typeof(
IAsyncStateMachine
).IsAssignableFrom(type) || typeof(IEnumerator).IsAssignableFrom(type)))
mscorlib (1)
parent\ref\mscorlib.cs (1)
550
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IAsyncStateMachine
))]
netstandard (1)
netstandard.cs (1)
1535
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IAsyncStateMachine
))]
System.Private.CoreLib (56)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncIteratorMethodBuilder.cs (4)
26
/// <summary>Invokes <see cref="
IAsyncStateMachine
.MoveNext"/> on the state machine while guarding the <see cref="ExecutionContext"/>.</summary>
30
public void MoveNext<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
40
where TStateMachine :
IAsyncStateMachine
=>
50
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (3)
21
public static void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
57
public static void SetStateMachine(
IAsyncStateMachine
stateMachine, Task? task)
89
internal static string GetAsyncStateMachineDescription(
IAsyncStateMachine
stateMachine)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncStateMachineDiagnostics.cs (1)
11
where TStateMachine :
IAsyncStateMachine
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncStateMachineDispatcher.cs (1)
326
public
IAsyncStateMachine
GetStateMachineObject()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilder.cs (4)
32
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
39
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
52
where TStateMachine :
IAsyncStateMachine
=>
66
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (13)
34
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
41
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
54
where TStateMachine :
IAsyncStateMachine
=>
60
where TStateMachine :
IAsyncStateMachine
92
where TStateMachine :
IAsyncStateMachine
=>
99
where TStateMachine :
IAsyncStateMachine
173
where TStateMachine :
IAsyncStateMachine
201
else if (taskField is AsyncStateMachineBox<
IAsyncStateMachine
> weaklyTypedBox)
417
where TStateMachine :
IAsyncStateMachine
452
string stateMachineName = typeof(TStateMachine) != typeof(
IAsyncStateMachine
) ?
455
nameof(
IAsyncStateMachine
);
583
IAsyncStateMachine
IAsyncStateMachineBox.GetStateMachineObject() => StateMachine!; // likely boxes, only use for debugging
629
return new AsyncStateMachineBox<
IAsyncStateMachine
>();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncValueTaskMethodBuilder.cs (4)
30
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
35
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
86
where TStateMachine :
IAsyncStateMachine
=>
97
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncValueTaskMethodBuilderT.cs (4)
35
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
40
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
93
where TStateMachine :
IAsyncStateMachine
=>
104
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (4)
39
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
46
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
59
where TStateMachine :
IAsyncStateMachine
=>
72
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IAsyncStateMachine.cs (1)
24
void SetStateMachine(
IAsyncStateMachine
stateMachine);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IAsyncStateMachineBox.cs (1)
21
IAsyncStateMachine
GetStateMachineObject();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilder.cs (4)
32
where TStateMachine :
IAsyncStateMachine
=>
37
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
88
where TStateMachine :
IAsyncStateMachine
=>
99
where TStateMachine :
IAsyncStateMachine
=>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (11)
40
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine :
IAsyncStateMachine
=>
45
public void SetStateMachine(
IAsyncStateMachine
stateMachine) =>
108
where TStateMachine :
IAsyncStateMachine
=>
114
where TStateMachine :
IAsyncStateMachine
143
where TStateMachine :
IAsyncStateMachine
=>
150
where TStateMachine :
IAsyncStateMachine
164
where TStateMachine :
IAsyncStateMachine
191
if (boxFieldRef is StateMachineBox<
IAsyncStateMachine
> weaklyTypedBox)
233
internal static StateMachineBox CreateWeaklyTypedStateMachineBox() => new StateMachineBox<
IAsyncStateMachine
>();
312
where TStateMachine :
IAsyncStateMachine
481
IAsyncStateMachine
IAsyncStateMachineBox.GetStateMachineObject() => StateMachine!; // likely boxes, only use for debugging
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (1)
551
IAsyncStateMachine
stateMachine = stateMachineBox.GetStateMachineObject();
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
587
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IAsyncStateMachine
))]
System.Threading.Tasks (1)
System.Threading.Tasks.cs (1)
14
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IAsyncStateMachine
))]