5 writes to m_action
System.Private.CoreLib (5)
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)
538m_action = action; 2119m_action = null;
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (2)
223m_action = MoveNext; 295m_action = MoveNext;
29 references to m_action
System.Private.CoreLib (29)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (4)
353m_action?.Method.ToString() ?? "{null}"; 483Debug.Assert(m_action != null); 484if (m_action is Func<TResult> func) 490if (m_action is Func<object?, TResult> funcWithState)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (7)
570m_stateFlags = m_action == null || (internalOptions & InternalTaskOptions.ContinuationTask) != 0 ? 674private 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.GetMethodName(), 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!.GetMethodName(), 0); 359m_task.m_action is null ? m_task.GetDelegateContinuationsForDebugger() : 360[m_task.m_action];
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (1)
176(task.m_action == null) ||
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (2)
250public static Action GetContinuationAction(ThunkTask<T> task) => (Action)task.m_action!; 322public static Action GetContinuationAction(ThunkTask task) => (Action)task.m_action!;