5 writes to state
System.Activities (5)
System\Activities\WorkflowApplication.cs (5)
807this.state = WorkflowApplicationState.Aborted; 1355this.state = WorkflowApplicationState.Runnable; 2376this.state = WorkflowApplicationState.Paused; 2752this.state = WorkflowApplicationState.Unloaded; 3902this.instance.state = WorkflowApplicationState.Paused;
17 references to state
System.Activities (17)
System\Activities\WorkflowApplication.cs (17)
122Fx.Assert(this.state == WorkflowApplicationState.Paused, "We always start out paused (the default)"); 322return this.state == WorkflowApplicationState.Unloaded || this.state == WorkflowApplicationState.Aborted; 645WorkflowApplicationState localApplicationState = this.state; 785if (this.state != WorkflowApplicationState.Aborted) 1108if (!this.hasRaisedCompleted && this.state != WorkflowApplicationState.Unloaded) 1897if (this.state == WorkflowApplicationState.Aborted) 2352if (this.state == WorkflowApplicationState.Aborted) 2525else if (this.state == WorkflowApplicationState.Unloaded || this.state == WorkflowApplicationState.Aborted) 2822if (this.state != WorkflowApplicationState.Unloaded) // Unload on unload is a no-op 2903if (this.state == WorkflowApplicationState.Aborted) 2928if (this.state == WorkflowApplicationState.Unloaded) 3533alreadyUnloaded = this.instance.state == WorkflowApplicationState.Unloaded; 3783if (this.instance.state == WorkflowApplicationState.Aborted) 4596if (this.application.state == WorkflowApplicationState.Aborted) 5459if (requiresRunnableInstance && instance.state != WorkflowApplicationState.Runnable)