17 references to Executing
System.Activities (17)
System\Activities\ActivityInstance.cs (3)
58
this.state = ActivityInstanceState.
Executing
;
1138
Fx.Assert(child.State == ActivityInstanceState.
Executing
, "should only have children if they're still executing");
1273
Fx.Assert(this.state != ActivityInstanceState.
Executing
, "We must be in a completed state at this point.");
System\Activities\ActivityInstanceState.cs (1)
34
case ActivityInstanceState.
Executing
:
System\Activities\ActivityUtilities.cs (1)
122
return state != ActivityInstanceState.
Executing
;
System\Activities\Hosting\WorkflowInstance.cs (2)
535
if (this.executor.State != ActivityInstanceState.
Executing
)
851
if (this.executor.State == ActivityInstanceState.
Executing
)
System\Activities\Runtime\ActivityExecutionWorkItem.cs (1)
32
return this.ActivityInstance.State == ActivityInstanceState.
Executing
;
System\Activities\Runtime\ActivityExecutor.cs (6)
347
return ActivityInstanceState.
Executing
;
1570
if (this.rootInstance.State == ActivityInstanceState.
Executing
)
1628
if (activityInstance.State != ActivityInstanceState.
Executing
|| activityInstance.IsCancellationRequested)
2286
Fx.Assert(this.executionState == ActivityInstanceState.
Executing
, "We shouldn't have a guess at our completion state yet.");
3270
return this.ActivityInstance.State == ActivityInstanceState.
Executing
;
3629
return this.ActivityInstance.State == ActivityInstanceState.
Executing
;
System\Activities\Runtime\ExecuteSynchronousExpressionWorkItem.cs (1)
225
this.TrackState(executor, ActivityInstanceState.
Executing
, ref activityInfo);
System\Activities\Tracking\ActivityStateRecord.cs (1)
40
case ActivityInstanceState.
Executing
:
System\Activities\WorkflowApplication.cs (1)
762
Fx.Assert(completionState != ActivityInstanceState.
Executing
, "Activity cannot be executing when this method is called");