103 references to AsyncCausalityTracer
mscorlib (103)
system\runtime\compilerservices\AsyncMethodBuilder.cs (18)
116
var continuation = m_coreState.GetCompletionAction(
AsyncCausalityTracer
.LoggingOn ? this.Task : null, ref runnerToInitialize);
122
if (
AsyncCausalityTracer
.LoggingOn)
123
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Task.Id, "Async: " + stateMachine.GetType().Name, 0);
162
var continuation = m_coreState.GetCompletionAction(
AsyncCausalityTracer
.LoggingOn ? this.Task : null, ref runnerToInitialize);
168
if (
AsyncCausalityTracer
.LoggingOn)
169
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Task.Id, "Async: " + stateMachine.GetType().Name, 0);
188
if (
AsyncCausalityTracer
.LoggingOn)
189
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Task.Id, AsyncCausalityStatus.Completed);
206
if (
AsyncCausalityTracer
.LoggingOn)
207
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Task.Id, AsyncCausalityStatus.Error);
503
var continuation = m_coreState.GetCompletionAction(
AsyncCausalityTracer
.LoggingOn ? this.Task : null, ref runnerToInitialize);
543
var continuation = m_coreState.GetCompletionAction(
AsyncCausalityTracer
.LoggingOn ? this.Task : null, ref runnerToInitialize);
599
if (
AsyncCausalityTracer
.LoggingOn)
600
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, task.Id, AsyncCausalityStatus.Completed);
972
AsyncCausalityTracer
.TraceSynchronousWorkStart(CausalityTraceLevel.Required, innerTask.Id, CausalitySynchronousWork.Execution);
977
AsyncCausalityTracer
.TraceSynchronousWorkCompletion(CausalityTraceLevel.Required, CausalitySynchronousWork.Execution);
985
if (
AsyncCausalityTracer
.LoggingOn)
986
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, builtTask.Id, "Async: " + stateMachine.GetType().Name, 0);
system\threading\Tasks\FutureFactory.cs (22)
575
if (
AsyncCausalityTracer
.LoggingOn)
576
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, promise.Id, AsyncCausalityStatus.Completed);
709
if (
AsyncCausalityTracer
.LoggingOn)
710
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync", 0);
727
if (
AsyncCausalityTracer
.LoggingOn)
728
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Verbose, t.Id, "TaskFactory.FromAsync Callback", 0);
828
if (
AsyncCausalityTracer
.LoggingOn)
829
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
868
if (
AsyncCausalityTracer
.LoggingOn)
869
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, promise.Id, AsyncCausalityStatus.Error);
965
if (
AsyncCausalityTracer
.LoggingOn)
966
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1005
if (
AsyncCausalityTracer
.LoggingOn)
1006
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, promise.Id, AsyncCausalityStatus.Error);
1110
if (
AsyncCausalityTracer
.LoggingOn)
1111
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1149
if (
AsyncCausalityTracer
.LoggingOn)
1150
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, promise.Id, AsyncCausalityStatus.Error);
1262
if (
AsyncCausalityTracer
.LoggingOn)
1263
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1301
if (
AsyncCausalityTracer
.LoggingOn)
1302
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, promise.Id, AsyncCausalityStatus.Error);
system\threading\Tasks\Task.cs (40)
1936
if (
AsyncCausalityTracer
.LoggingOn && (Options & (TaskCreationOptions)InternalTaskOptions.ContinuationTask) == 0)
1939
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task: "+((Delegate)m_action).Method.Name, 0);
2283
if (
AsyncCausalityTracer
.LoggingOn)
2284
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Error);
2301
if (
AsyncCausalityTracer
.LoggingOn)
2302
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Canceled);
2312
if (
AsyncCausalityTracer
.LoggingOn)
2313
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
2792
if (
AsyncCausalityTracer
.LoggingOn)
2793
AsyncCausalityTracer
.TraceSynchronousWorkStart(CausalityTraceLevel.Required, this.Id, CausalitySynchronousWork.Execution);
2827
if (
AsyncCausalityTracer
.LoggingOn)
2828
AsyncCausalityTracer
.TraceSynchronousWorkCompletion(CausalityTraceLevel.Required, CausalitySynchronousWork.Execution);
3557
if (
AsyncCausalityTracer
.LoggingOn)
3558
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Canceled);
3604
if (
AsyncCausalityTracer
.LoggingOn)
3605
AsyncCausalityTracer
.TraceSynchronousWorkStart(CausalityTraceLevel.Required, this.Id, CausalitySynchronousWork.CompletionNotification);
3728
if (
AsyncCausalityTracer
.LoggingOn)
3729
AsyncCausalityTracer
.TraceSynchronousWorkCompletion(CausalityTraceLevel.Required, CausalitySynchronousWork.CompletionNotification);
5911
if (
AsyncCausalityTracer
.LoggingOn)
5912
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task.Delay", 0);
5935
if (
AsyncCausalityTracer
.LoggingOn)
5936
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
6105
if (
AsyncCausalityTracer
.LoggingOn)
6106
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task.WhenAll", 0);
6125
if (
AsyncCausalityTracer
.LoggingOn)
6126
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Join);
6174
if (
AsyncCausalityTracer
.LoggingOn)
6175
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
6352
if (
AsyncCausalityTracer
.LoggingOn)
6353
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task.WhenAll", 0);
6369
if (
AsyncCausalityTracer
.LoggingOn)
6370
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Join);
6424
if (
AsyncCausalityTracer
.LoggingOn)
6425
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
7156
if (
AsyncCausalityTracer
.LoggingOn)
7157
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task.Unwrap", 0);
7271
if (
AsyncCausalityTracer
.LoggingOn)
7272
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Join);
7300
if (
AsyncCausalityTracer
.LoggingOn)
7301
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
system\threading\Tasks\TaskContinuation.cs (4)
310
if (
AsyncCausalityTracer
.LoggingOn)
311
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, m_task.Id, "Task.ContinueWith: " + ((Delegate)task.m_action).Method.Name, 0);
344
if (!continuationTask.IsCanceled &&
AsyncCausalityTracer
.LoggingOn)
347
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, continuationTask.Id, CausalityRelation.AssignDelegate);
system\threading\Tasks\TaskFactory.cs (17)
1645
if (
AsyncCausalityTracer
.LoggingOn)
1646
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "TaskFactory.ContinueWhenAll", 0);
1656
if (
AsyncCausalityTracer
.LoggingOn)
1657
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Join);
1662
if (
AsyncCausalityTracer
.LoggingOn)
1663
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
1723
if (
AsyncCausalityTracer
.LoggingOn)
1724
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "TaskFactory.ContinueWhenAll<>", 0);
1734
if (
AsyncCausalityTracer
.LoggingOn)
1735
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Join);
1740
if (
AsyncCausalityTracer
.LoggingOn)
1741
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
2425
if (
AsyncCausalityTracer
.LoggingOn)
2426
AsyncCausalityTracer
.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "TaskFactory.ContinueWhenAny", 0);
2438
if (
AsyncCausalityTracer
.LoggingOn)
2440
AsyncCausalityTracer
.TraceOperationRelation(CausalityTraceLevel.Important, this.Id, CausalityRelation.Choice);
2441
AsyncCausalityTracer
.TraceOperationCompletion(CausalityTraceLevel.Required, this.Id, AsyncCausalityStatus.Completed);
system\threading\Tasks\TPLETWProvider.cs (2)
46
AsyncCausalityTracer
.EnableToETW(true);
48
AsyncCausalityTracer
.EnableToETW(false);