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

◆ HandleNonSuccessAndDebuggerNotification()

static void System.Runtime.CompilerServices.TaskAwaiter< TResult >.HandleNonSuccessAndDebuggerNotification ( Task task)
inlinestaticprivate

Definition at line 47 of file TaskAwaiter.cs.

48 {
49 if (!task.IsCompleted)
50 {
51 bool flag = task.InternalWait(-1, default(CancellationToken));
52 }
53 task.NotifyDebuggerOfWaitCompletionIfNecessary();
54 if (!task.IsCompletedSuccessfully)
55 {
57 }
58 }

References System.task, and System.Runtime.CompilerServices.TaskAwaiter< TResult >.ThrowForNonSuccess().

Referenced by System.Runtime.CompilerServices.TaskAwaiter< TResult >.ValidateEnd().