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