50 references to Closed
System.Activities (47)
System\Activities\ActivityInstance.cs (4)
73
Fx.Assert(value != null || this.state == ActivityInstanceState.
Closed
, "");
500
instance.state = ActivityInstanceState.
Closed
;
1275
if (this.state == ActivityInstanceState.
Closed
)
1313
this.state = ActivityInstanceState.
Closed
;
System\Activities\ActivityInstanceState.cs (1)
36
case ActivityInstanceState.
Closed
:
System\Activities\Expressions\InvokeFunc.cs (17)
39
if (completedInstance.State == ActivityInstanceState.
Closed
)
87
if (completedInstance.State == ActivityInstanceState.
Closed
)
146
if (completedInstance.State == ActivityInstanceState.
Closed
)
209
if (completedInstance.State == ActivityInstanceState.
Closed
)
280
if (completedInstance.State == ActivityInstanceState.
Closed
)
355
if (completedInstance.State == ActivityInstanceState.
Closed
)
437
if (completedInstance.State == ActivityInstanceState.
Closed
)
526
if (completedInstance.State == ActivityInstanceState.
Closed
)
623
if (completedInstance.State == ActivityInstanceState.
Closed
)
727
if (completedInstance.State == ActivityInstanceState.
Closed
)
838
if (completedInstance.State == ActivityInstanceState.
Closed
)
956
if (completedInstance.State == ActivityInstanceState.
Closed
)
1082
if (completedInstance.State == ActivityInstanceState.
Closed
)
1215
if (completedInstance.State == ActivityInstanceState.
Closed
)
1355
if (completedInstance.State == ActivityInstanceState.
Closed
)
1502
if (completedInstance.State == ActivityInstanceState.
Closed
)
1656
if (completedInstance.State == ActivityInstanceState.
Closed
)
System\Activities\Hosting\WorkflowInstance.cs (1)
706
else if (completionState == ActivityInstanceState.
Closed
)
System\Activities\Runtime\ActivityExecutor.cs (3)
1610
else if (this.rootInstance.State != ActivityInstanceState.
Closed
)
2340
if (this.rootInstance.State == ActivityInstanceState.
Closed
)
2510
if (completedInstance.State != ActivityInstanceState.
Closed
&& completedInstance.Parent.HasNotExecuted)
System\Activities\Runtime\CompletionBookmark.cs (1)
50
if (completedInstance.State != ActivityInstanceState.
Closed
&& completedInstance.Parent.HasNotExecuted)
System\Activities\Runtime\CompletionCallbackWrapper.cs (1)
247
if (this.CompletedInstance.State != ActivityInstanceState.
Closed
&& this.ActivityInstance.IsPerformingDefaultCancelation)
System\Activities\Runtime\EmptyWithCancelationCheckWorkItem.cs (1)
56
if (this.completedInstance.State != ActivityInstanceState.
Closed
&& this.ActivityInstance.IsPerformingDefaultCancelation)
System\Activities\Runtime\ExecuteSynchronousExpressionWorkItem.cs (1)
217
this.TrackState(executor, ActivityInstanceState.
Closed
, ref activityInfo);
System\Activities\Statements\CompensableActivity.cs (1)
393
if (completedInstance.State == ActivityInstanceState.
Closed
)
System\Activities\Statements\CompensationParticipant.cs (4)
204
if (completedInstance.State == ActivityInstanceState.
Closed
)
231
if (completedInstance.State == ActivityInstanceState.
Closed
)
288
if (completedInstance.State == ActivityInstanceState.
Closed
)
352
if (completedInstance.State == ActivityInstanceState.
Closed
)
System\Activities\Statements\Flowchart.cs (1)
306
if (completedInstance.State != ActivityInstanceState.
Closed
)
System\Activities\Statements\InternalState.cs (1)
701
else if (completedInstance.State == ActivityInstanceState.
Closed
)
System\Activities\Statements\Parallel.cs (1)
174
if (completedInstance.State != ActivityInstanceState.
Closed
&& context.IsCancellationRequested)
System\Activities\Statements\ParallelForEach.cs (1)
106
if (completedInstance.State != ActivityInstanceState.
Closed
&& context.IsCancellationRequested)
System\Activities\Statements\Pick.cs (2)
154
case ActivityInstanceState.
Closed
:
312
if (completedInstance.State == ActivityInstanceState.
Closed
&& pickState.TriggerCompletionBookmark != null)
System\Activities\Statements\TransactionScope.cs (1)
396
if (instance.State == ActivityInstanceState.
Closed
)
System\Activities\Statements\TryCatch.cs (1)
279
if (completedInstance != null && completedInstance.State != ActivityInstanceState.
Closed
)
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
99
if (completionState == ActivityInstanceState.
Closed
)
System\Activities\Tracking\ActivityStateRecord.cs (1)
43
case ActivityInstanceState.
Closed
:
System\Activities\WorkflowApplication.cs (2)
5148
case ActivityInstanceState.
Closed
:
5869
else if (completionState == ActivityInstanceState.
Closed
)
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
1225
if (this.completionState == ActivityInstanceState.
Closed
)
1554
else if (this.completionState == ActivityInstanceState.
Closed
)
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
252
else if (completedInstance.State == ActivityInstanceState.
Closed
)