7 writes to t_currentTask
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
2408ExecuteWithThreadLocal(ref t_currentTask); 2434ExecuteWithThreadLocal(ref t_currentTask, threadPoolThread);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (5)
398RunCallback(GetInvokeActionCallback(), m_action, ref Task.t_currentTask); 409RunCallback(GetPostActionCallback(), this, ref Task.t_currentTask); 586RunCallback(GetInvokeActionCallback(), m_action, ref Task.t_currentTask); // any exceptions from m_action will be handled by s_callbackRunAction 743ref Task? currentTask = ref Task.t_currentTask; 779ref Task? currentTask = ref Task.t_currentTask;
2 references to t_currentTask
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
1371internal static Task? InternalCurrent => t_currentTask;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
698Debug.Assert(currentTask == Task.t_currentTask);