3 writes to m_action
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (1)
329public Action MoveNextAction => (Action)(m_action ??= new Action(MoveNext));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
540m_action = action; 2119m_action = null;
27 references to m_action
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (4)
355m_action?.Method.ToString() ?? "{null}"; 487Debug.Assert(m_action != null); 488if (m_action is Func<TResult> func) 494if (m_action is Func<object?, TResult> funcWithState)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (7)
572m_stateFlags = m_action == null || (internalOptions & InternalTaskOptions.ContinuationTask) != 0 ? 676private string DebuggerDisplayMethodDescription => m_action?.Method.ToString() ?? "{null}"; 1683Debug.Assert(m_action != null, "Must have a delegate to be in ScheduleAndStart"); 1684TplEventSource.Log.TraceOperationBegin(this.Id, "Task: " + m_action.Method.Name, 0); 2393Debug.Assert(m_action != null, "Null action in InnerInvoke()"); 2394if (m_action is Action action) 2400if (m_action is Action<object?> actionWithState)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (15)
39Debug.Assert(m_action != null); 40if (m_action is Action<Task> action) 46if (m_action is Action<Task, object?> actionWithState) 85Debug.Assert(m_action != null); 86if (m_action is Func<Task, TResult> func) 92if (m_action is Func<Task, object?, TResult> funcWithState) 131Debug.Assert(m_action != null); 132if (m_action is Action<Task<TAntecedentResult>> action) 138if (m_action is Action<Task<TAntecedentResult>, object?> actionWithState) 177Debug.Assert(m_action != null); 178if (m_action is Func<Task<TAntecedentResult>, TResult> func) 184if (m_action is Func<Task<TAntecedentResult>, object?, TResult> funcWithState) 280TplEventSource.Log.TraceOperationBegin(m_task.Id, "Task.ContinueWith: " + task.m_action!.Method.Name, 0); 359m_task.m_action is null ? m_task.GetDelegateContinuationsForDebugger() : 360new Delegate[] { m_task.m_action };
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (1)
176(task.m_action == null) ||