5 references to InternalCurrent
mscorlib (5)
system\threading\Tasks\Task.cs (1)
2991
var scheduler = TaskScheduler.
InternalCurrent
;
system\threading\Tasks\TaskContinuation.cs (2)
519
(TaskScheduler.
InternalCurrent
== m_scheduler || Thread.CurrentThread.IsThreadPoolThread);
657
var sched = TaskScheduler.
InternalCurrent
;
system\threading\Tasks\TaskScheduler.cs (2)
352
TaskScheduler current =
InternalCurrent
;
362
/// When not called from within a task, <see cref="
InternalCurrent
"/> will return null.