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