10 references to State
System.Activities (10)
System\Activities\WorkflowApplicationInstance.cs (10)
32this.state = (int)State.Initialized; 121int oldState = Interlocked.CompareExchange(ref this.state, (int)State.Loaded, (int)State.Initialized); 122this.ThrowIfLoadedOrAbandoned((State)oldState); 127int oldState = Interlocked.CompareExchange(ref this.state, (int)State.Aborted, (int)State.Initialized); 128this.ThrowIfLoadedOrAbandoned((State)oldState); 131private void ThrowIfLoadedOrAbandoned(State oldState) 133if (oldState == State.Loaded) 138if (oldState == State.Aborted)