4 writes to m_action
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (1)
329
public Action MoveNextAction => (Action)(
m_action
??= new Action(MoveNext));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
615
m_action
= action;
2197
m_action
= null;
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
320
m_action
= DispatchContinuations;
27 references to m_action
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (6)
647
m_stateFlags =
m_action
== null || (internalOptions & InternalTaskOptions.ContinuationTask) != 0 ?
751
private string DebuggerDisplayMethodDescription =>
m_action
?.Method.ToString() ?? "{null}";
1759
m_action
is Delegate action)
2471
Debug.Assert(
m_action
!= null, "Null action in InnerInvoke()");
2472
if (
m_action
is Action action)
2478
if (
m_action
is Action<object?> actionWithState)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task_T.cs (4)
353
m_action
?.Method.ToString() ?? "{null}";
483
Debug.Assert(
m_action
!= null);
484
if (
m_action
is Func<TResult> func)
490
if (
m_action
is Func<object?, TResult> funcWithState)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (15)
39
Debug.Assert(
m_action
!= null);
40
if (
m_action
is Action<Task> action)
46
if (
m_action
is Action<Task, object?> actionWithState)
85
Debug.Assert(
m_action
!= null);
86
if (
m_action
is Func<Task, TResult> func)
92
if (
m_action
is Func<Task, object?, TResult> funcWithState)
131
Debug.Assert(
m_action
!= null);
132
if (
m_action
is Action<Task<TAntecedentResult>> action)
138
if (
m_action
is Action<Task<TAntecedentResult>, object?> actionWithState)
177
Debug.Assert(
m_action
!= null);
178
if (
m_action
is Func<Task<TAntecedentResult>, TResult> func)
184
if (
m_action
is Func<Task<TAntecedentResult>, object?, TResult> funcWithState)
280
TplEventSource.Log.TraceOperationBegin(m_task.Id, "Task.ContinueWith: " + task.
m_action
!.GetMethodName(), 0);
359
m_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 (1)
336
private Action GetContinuationAction() => (Action)
m_action
!;