50 references to Id
mscorlib (49)
system\runtime\compilerservices\TaskAwaiter.cs (4)
251
(currentTaskAtBegin != null ? currentTaskAtBegin.m_taskScheduler.
Id
: TaskScheduler.Default.
Id
),
276
(currentTaskAtEnd != null ? currentTaskAtEnd.m_taskScheduler.
Id
: TaskScheduler.Default.
Id
),
system\runtime\compilerservices\YieldAwaitable.cs (1)
133
TplEtwProvider.Log.AwaitTaskContinuationScheduled(TaskScheduler.Current.
Id
, (currentTask != null) ? currentTask.Id : 0, continuationId);
system\threading\Tasks\Parallel.cs (28)
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 (10)
984
etwLog.TaskScheduled(ts.
Id
, currentTask == null ? 0 : currentTask.Id,
2787
etwLog.TaskStarted(previousTask.m_taskScheduler.
Id
, previousTask.Id, this.Id);
2789
etwLog.TaskStarted(TaskScheduler.Current.
Id
, 0, this.Id);
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),
3271
etwLog.TaskWaitEnd(currentTask.m_taskScheduler.
Id
, currentTask.Id, this.Id);
3275
etwLog.TaskWaitEnd(TaskScheduler.Default.
Id
, 0, this.Id);
4694
etwLog.AwaitTaskContinuationScheduled(TaskScheduler.Current.
Id
, Task.CurrentId ?? 0, continuationTask.Id);
system\threading\Tasks\TaskContinuation.cs (3)
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\TaskScheduler.cs (2)
596
int tmp = scheduler.
Id
; // force Ids for debugger
615
get { return m_taskScheduler.
Id
; }
system\threading\Tasks\ThreadPoolTaskScheduler.cs (1)
37
int id = base.
Id
; // force ID creation of the default scheduler
System.Core (1)
System\Linq\Parallel\Utils\PLINQETWProvider.cs (1)
44
private static readonly int s_defaultSchedulerId = TaskScheduler.Default.
Id
;