116 references to Id
mscorlib (116)
system\runtime\compilerservices\AsyncMethodBuilder.cs (8)
123
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.Task.
Id
, "Async: " + stateMachine.GetType().Name, 0);
169
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.Task.
Id
, "Async: " + stateMachine.GetType().Name, 0);
189
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.Task.
Id
, AsyncCausalityStatus.Completed);
207
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.Task.
Id
, AsyncCausalityStatus.Error);
600
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, task.
Id
, AsyncCausalityStatus.Completed);
605
System.Threading.Tasks.Task.RemoveFromActiveTasks(task.
Id
);
972
AsyncCausalityTracer.TraceSynchronousWorkStart(CausalityTraceLevel.Required, innerTask.
Id
, CausalitySynchronousWork.Execution);
986
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, builtTask.
Id
, "Async: " + stateMachine.GetType().Name, 0);
system\runtime\compilerservices\TaskAwaiter.cs (8)
252
(currentTaskAtBegin != null ? currentTaskAtBegin.
Id
: 0),
253
task.
Id
, TplEtwProvider.TaskWaitBehavior.Asynchronous,
254
(continuationTask != null ? continuationTask.
Id
: 0), System.Threading.Thread.GetDomainID());
266
Task.RemoveFromActiveTasks(task.
Id
);
277
(currentTaskAtEnd != null ? currentTaskAtEnd.
Id
: 0),
278
task.
Id
);
283
EventSource.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(task.
Id
), out prevActivityId);
290
etwLog.TaskWaitContinuationComplete(task.
Id
);
system\runtime\compilerservices\YieldAwaitable.cs (1)
133
TplEtwProvider.Log.AwaitTaskContinuationScheduled(TaskScheduler.Current.Id, (currentTask != null) ? currentTask.
Id
: 0, continuationId);
system\threading\Tasks\Future.cs (1)
1665
public int Id { get { return m_task.
Id
; } }
system\threading\Tasks\FutureFactory.cs (16)
576
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, promise.
Id
, AsyncCausalityStatus.Completed);
580
Task.RemoveFromActiveTasks(promise.
Id
);
710
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.
Id
, "TaskFactory.FromAsync", 0);
728
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Verbose, t.
Id
, "TaskFactory.FromAsync Callback", 0);
829
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.
Id
, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
869
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, promise.
Id
, AsyncCausalityStatus.Error);
873
Task.RemoveFromActiveTasks(promise.
Id
);
966
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.
Id
, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1006
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, promise.
Id
, AsyncCausalityStatus.Error);
1010
Task.RemoveFromActiveTasks(promise.
Id
);
1111
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.
Id
, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1150
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, promise.
Id
, AsyncCausalityStatus.Error);
1154
Task.RemoveFromActiveTasks(promise.
Id
);
1263
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.
Id
, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1302
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, promise.
Id
, AsyncCausalityStatus.Error);
1306
Task.RemoveFromActiveTasks(promise.
Id
);
system\threading\Tasks\Parallel.cs (14)
255
TplEtwProvider.Log.ParallelInvokeBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
408
TplEtwProvider.Log.ParallelInvokeEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
1101
TplEtwProvider.Log.ParallelLoopBegin((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.
Id
: 0),
1153
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
1256
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
1322
TplEtwProvider.Log.ParallelLoopEnd((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.
Id
: 0),
1416
TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
1466
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
1569
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
1635
TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
3230
TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
3291
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
3454
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.
Id
: 0),
3536
TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.
Id
: 0),
system\threading\Tasks\Task.cs (50)
133
/// store for the <see cref="
Id
"/> property, however accessing this field directly from a debugger may be
233
s_currentActiveTasks[task.
Id
] = task;
984
etwLog.TaskScheduled(ts.Id, currentTask == null ? 0 : currentTask.
Id
,
985
this.
Id
, parentTask == null ? 0 : parentTask.
Id
, (int)this.Options,
1348
return currentTask.
Id
;
1939
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "Task: "+((Delegate)m_action).Method.Name, 0);
2284
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Error);
2288
RemoveFromActiveTasks(this.
Id
);
2302
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Canceled);
2306
RemoveFromActiveTasks(this.
Id
);
2313
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
2317
RemoveFromActiveTasks(this.
Id
);
2784
EventSource.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(this.
Id
), out savedActivityID);
2787
etwLog.TaskStarted(previousTask.m_taskScheduler.Id, previousTask.
Id
, this.
Id
);
2789
etwLog.TaskStarted(TaskScheduler.Current.Id, 0, this.
Id
);
2793
AsyncCausalityTracer.TraceSynchronousWorkStart(CausalityTraceLevel.Required, this.
Id
, CausalitySynchronousWork.Execution);
2841
etwLog.TaskCompleted(previousTask.m_taskScheduler.Id, previousTask.
Id
, this.
Id
, IsFaulted);
2843
etwLog.TaskCompleted(TaskScheduler.Current.Id, 0, this.
Id
, IsFaulted);
3233
(currentTask != null ? currentTask.m_taskScheduler.Id : TaskScheduler.Default.Id), (currentTask != null ? currentTask.
Id
: 0),
3234
this.
Id
, TplEtwProvider.TaskWaitBehavior.Synchronous, 0, System.Threading.Thread.GetDomainID());
3271
etwLog.TaskWaitEnd(currentTask.m_taskScheduler.Id, currentTask.
Id
, this.
Id
);
3275
etwLog.TaskWaitEnd(TaskScheduler.Default.Id, 0, this.
Id
);
3278
etwLog.TaskWaitContinuationComplete(this.
Id
);
3558
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Canceled);
3562
RemoveFromActiveTasks(this.
Id
);
3598
TplEtwProvider.Log.RunningContinuation(
Id
, continuationObject);
3605
AsyncCausalityTracer.TraceSynchronousWorkStart(CausalityTraceLevel.Required, this.
Id
, CausalitySynchronousWork.CompletionNotification);
3671
TplEtwProvider.Log.RunningContinuationList(
Id
, i, tc);
3685
TplEtwProvider.Log.RunningContinuationList(
Id
, i, currentContinuation);
4694
etwLog.AwaitTaskContinuationScheduled(TaskScheduler.Current.Id, Task.CurrentId ?? 0, continuationTask.
Id
);
5912
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "Task.Delay", 0);
5936
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
5940
RemoveFromActiveTasks(this.
Id
);
6106
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "Task.WhenAll", 0);
6126
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Join);
6175
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
6179
RemoveFromActiveTasks(this.
Id
);
6353
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "Task.WhenAll", 0);
6370
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Join);
6425
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
6429
RemoveFromActiveTasks(this.
Id
);
6717
public int Id { get { return m_task.
Id
; } }
7157
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "Task.Unwrap", 0);
7272
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Join);
7301
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
7305
RemoveFromActiveTasks(this.
Id
);
system\threading\Tasks\TaskContinuation.cs (5)
311
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, m_task.
Id
, "Task.ContinueWith: " + ((Delegate)task.m_action).Method.Name, 0);
347
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, continuationTask.
Id
, CausalityRelation.AssignDelegate);
428
etwLog.AwaitTaskContinuationScheduled((task.ExecutingTaskScheduler ?? TaskScheduler.Default).Id, task.
Id
, m_continuationId);
622
etwLog.AwaitTaskContinuationScheduled((task.ExecutingTaskScheduler ?? TaskScheduler.Default).Id, task.
Id
, m_continuationId);
833
etwLog.AwaitTaskContinuationScheduled((task.ExecutingTaskScheduler ?? TaskScheduler.Default).Id, task.
Id
, atc.m_continuationId);
system\threading\Tasks\TaskFactory.cs (12)
1646
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "TaskFactory.ContinueWhenAll", 0);
1657
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Join);
1663
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
1667
RemoveFromActiveTasks(this.
Id
);
1724
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "TaskFactory.ContinueWhenAll<>", 0);
1735
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Join);
1741
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
1745
RemoveFromActiveTasks(this.
Id
);
2426
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.
Id
, "TaskFactory.ContinueWhenAny", 0);
2440
AsyncCausalityTracer.TraceOperationRelation(CausalityTraceLevel.Important, this.
Id
, CausalityRelation.Choice);
2441
AsyncCausalityTracer.TraceOperationCompletion(CausalityTraceLevel.Required, this.
Id
, AsyncCausalityStatus.Completed);
2446
RemoveFromActiveTasks(this.
Id
);
system\threading\Tasks\TaskScheduler.cs (1)
559
int tmp = t.
Id
;