diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs index b44df7a0cd..f6692e8b43 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @@ -578,7 +578,7 @@ namespace System.Runtime.CompilerServices bool loggingOn = AsyncCausalitySupport.LoggingOn; if (loggingOn) { - AsyncCausalitySupport.TraceSynchronousWorkStart(this); + AsyncCausalityTracer.TraceSynchronousWorkStart(CausalityTraceLevel.Required, this.Id, CausalitySynchronousWork.Execution); } ExecutionContext context = Context; @@ -619,7 +619,7 @@ namespace System.Runtime.CompilerServices if (loggingOn) { - AsyncCausalitySupport.TraceSynchronousWorkCompletion(); + AsyncCausalityTracer.TraceSynchronousWorkCompletion(CausalityTraceLevel.Required, CausalitySynchronousWork.Execution); } } |