5 writes to m_action
System.Private.CoreLib (5)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
756
m_action
= DispatchContinuations;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncStateMachineDispatcher.cs (1)
324
public Action MoveNextAction => (Action)(
m_action
??= new Action(MoveNext));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (1)
465
public Action MoveNextAction => (Action)(
m_action
??= new Action(MoveNext));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
686
m_action
= action;
2272
m_action
= null;
28 references to m_action
System.Private.CoreLib (28)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
767
object? action =
m_action
;
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeAsyncTaskContinuation.cs (1)
98
TaskSchedulerAwaitTaskContinuation.RunOrScheduleAction((Action)RuntimeAsyncTask.
m_action
!, sched, capturedContext: null, allowInlining: canInline);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (6)
718
m_stateFlags =
m_action
== null || (internalOptions & InternalTaskOptions.ContinuationTask) != 0 ?
822
private string DebuggerDisplayMethodDescription =>
m_action
?.Method.ToString() ?? "{null}";
1834
m_action
is Delegate action)
2547
Debug.Assert(
m_action
!= null, "Null action in InnerInvoke()");
2548
if (
m_action
is Action action)
2554
if (
m_action
is Action<object?> actionWithState)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (1)
176
(task.
m_action
== null) ||