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

◆ IncompleteAsyncMethod() [1/2]

void System.Threading.Tasks.TplEventSource.IncompleteAsyncMethod ( IAsyncStateMachineBox stateMachineBox)
inline

Definition at line 414 of file TplEventSource.cs.

415 {
416 if (IsEnabled() && IsEnabled(EventLevel.Warning, (EventKeywords)256L))
417 {
418 IAsyncStateMachine stateMachineObject = stateMachineBox.GetStateMachineObject();
419 if (stateMachineObject != null)
420 {
421 string asyncStateMachineDescription = AsyncMethodBuilderCore.GetAsyncStateMachineDescription(stateMachineObject);
422 IncompleteAsyncMethod(asyncStateMachineDescription);
423 }
424 }
425 }
static string GetAsyncStateMachineDescription(IAsyncStateMachine stateMachine)
void IncompleteAsyncMethod(IAsyncStateMachineBox stateMachineBox)

References System.Runtime.CompilerServices.AsyncMethodBuilderCore.GetAsyncStateMachineDescription(), System.Runtime.CompilerServices.IAsyncStateMachineBox.GetStateMachineObject(), System.Threading.Tasks.TplEventSource.IncompleteAsyncMethod(), System.Diagnostics.Tracing.EventSource.IsEnabled(), and System.L.

Referenced by System.Threading.Tasks.TplEventSource.IncompleteAsyncMethod().