Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >() [3/3]

static void System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.AwaitUnsafeOnCompleted< TAwaiter, TStateMachine > ( ref TAwaiter awaiter,
ref TStateMachine stateMachine,
[NotNull] ref Task< TResult > taskField )
inlinestaticpackage
Type Constraints
TAwaiter :ICriticalNotifyCompletion 
TStateMachine :IAsyncStateMachine 

Definition at line 225 of file AsyncTaskMethodBuilder.cs.

225 : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
226 {
227 IAsyncStateMachineBox stateMachineBox = GetStateMachineBox(ref stateMachine, ref taskField);
228 AwaitUnsafeOnCompleted(ref awaiter, stateMachineBox);
229 }

References System.stateMachine.