2 writes to m_action
mscorlib (2)
system\threading\Tasks\Task.cs (2)
593
m_action
= action;
2351
m_action
= null;
30 references to m_action
mscorlib (30)
system\threading\Tasks\Future.cs (7)
454
Delegate d = (Delegate)
m_action
;
464
Contract.Assert(
m_action
== null, "Task<T>.TrySetResult(): non-null m_action");
579
Contract.Assert(
m_action
== null, "Task<T>.TrySetException(): non-null m_action");
627
Contract.Assert(
m_action
== null, "Task<T>.TrySetCanceled(): non-null m_action");
676
Contract.Assert(
m_action
!= null);
677
var func =
m_action
as Func<TResult>;
683
var funcWithState =
m_action
as Func<object, TResult>;
system\threading\Tasks\Task.cs (7)
633
if ((
m_action
== null) || ((internalOptions & InternalTaskOptions.ContinuationTask) != 0))
761
Delegate d = (Delegate)
m_action
;
1939
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, this.Id, "Task: "+((Delegate)
m_action
).Method.Name, 0);
2870
Contract.Assert(
m_action
!= null, "Null action in InnerInvoke()");
2871
var action =
m_action
as Action;
2877
var actionWithState =
m_action
as Action<object>;
6626
Contract.Assert(continuationTask.
m_action
== null);
system\threading\Tasks\TaskContinuation.cs (15)
59
Contract.Assert(
m_action
!= null);
60
var action =
m_action
as Action<Task>;
66
var actionWithState =
m_action
as Action<Task, object>;
107
Contract.Assert(
m_action
!= null);
108
var func =
m_action
as Func<Task, TResult>;
114
var funcWithState =
m_action
as Func<Task, object, TResult>;
155
Contract.Assert(
m_action
!= null);
156
var action =
m_action
as Action<Task<TAntecedentResult>>;
162
var actionWithState =
m_action
as Action<Task<TAntecedentResult>, object>;
203
Contract.Assert(
m_action
!= null);
204
var func =
m_action
as Func<Task<TAntecedentResult>, TResult>;
210
var funcWithState =
m_action
as Func<Task<TAntecedentResult>, object, TResult>;
311
AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, m_task.Id, "Task.ContinueWith: " + ((Delegate)task.
m_action
).Method.Name, 0);
375
if (m_task.
m_action
== null)
380
return new Delegate[] { m_task.
m_action
as Delegate };
system\threading\Tasks\TaskScheduler.cs (1)
204
(task.
m_action
== null) ||