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

◆ CreateWeaklyTypedStateMachineBox()

static Task< TResult > System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.CreateWeaklyTypedStateMachineBox ( )
inlinestaticpackage

Definition at line 316 of file AsyncTaskMethodBuilder.cs.

317 {
318 if (!AsyncMethodBuilderCore.TrackAsyncMethodCompletion)
319 {
320 return new AsyncStateMachineBox<IAsyncStateMachine>();
321 }
322 return CreateDebugFinalizableAsyncStateMachineBox<IAsyncStateMachine>();
323 }

References System.Runtime.CompilerServices.AsyncMethodBuilderCore.TrackAsyncMethodCompletion.

Referenced by System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.SetNotificationForWaitCompletion().