7 writes to t_currentTask
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
2255ExecuteWithThreadLocal(ref t_currentTask); 2280ExecuteWithThreadLocal(ref t_currentTask, threadPoolThread);
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); 572RunCallback(GetInvokeActionCallback(), m_action, ref Task.t_currentTask); // any exceptions from m_action will be handled by s_callbackRunAction 729ref Task? currentTask = ref Task.t_currentTask; 765ref Task? currentTask = ref Task.t_currentTask;
2 references to t_currentTask
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
1223internal static Task? InternalCurrent => t_currentTask;
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
684Debug.Assert(currentTask == Task.t_currentTask);