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

◆ ClearStateUponCompletion()

void System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.AsyncStateMachineBox< TStateMachine >.ClearStateUponCompletion ( )
inlineinherited

Implements System.Runtime.CompilerServices.IAsyncStateMachineBox.

Definition at line 151 of file AsyncTaskMethodBuilder.cs.

152 {
154 {
156 }
157 StateMachine = default(TStateMachine);
158 Context = null;
159 if (AsyncMethodBuilderCore.TrackAsyncMethodCompletion)
160 {
161 GC.SuppressFinalize(this);
162 }
163 }
static bool s_asyncDebuggingEnabled
Definition Task.cs:960
static void RemoveFromActiveTasks(Task task)
Definition Task.cs:1197

References System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.AsyncStateMachineBox< TStateMachine >.Context, System.Threading.Tasks.Task< TResult >.RemoveFromActiveTasks(), System.Threading.Tasks.Task< TResult >.s_asyncDebuggingEnabled, System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.AsyncStateMachineBox< TStateMachine >.StateMachine, System.GC.SuppressFinalize(), and System.Runtime.CompilerServices.AsyncMethodBuilderCore.TrackAsyncMethodCompletion.

Referenced by System.Runtime.CompilerServices.AsyncTaskMethodBuilder< TResult >.AsyncStateMachineBox< TStateMachine >.MoveNext().