9 writes to substate
System.Activities (9)
System\Activities\ActivityInstance.cs (9)
59
this.
substate
= Substate.Created;
162
set { this.
substate
= value; }
611
this.
substate
= Substate.Canceling;
616
this.
substate
= Substate.Executing;
877
this.
substate
= Substate.ResolvingArguments;
1002
this.
substate
= Substate.ResolvingVariables;
1038
this.
substate
= Substate.ResolvingVariables;
1157
this.
substate
= Substate.ResolvingVariables;
1216
this.
substate
= Substate.Initialized;
16 references to substate
System.Activities (16)
System\Activities\ActivityInstance.cs (16)
90
return this.
substate
;
161
get { return this.
substate
; }
265
return this.
substate
== Substate.ResolvingArguments;
273
return (this.
substate
& Substate.PreExecuting) != 0;
610
Fx.Assert(this.
substate
== Substate.Executing || this.
substate
== Substate.Canceling, "called from an unexpected state");
885
Fx.Assert(this.
substate
== Substate.Executing, "Dynamically added arguments are to be resolved only in Substate.Executing.");
954
Fx.Assert(this.
substate
== Substate.ResolvingArguments, "Invalid sub-state machine");
1011
Fx.Assert(this.
substate
== Substate.Executing, "Dynamically added variable default expressions are to be resolved only in Substate.Executing.");
1036
Fx.Assert(this.
substate
== Substate.ResolvingVariables, "invalid sub-state machine");
1152
if (this.
substate
== Substate.ResolvingArguments)
1160
else if (this.
substate
== Substate.ResolvingVariables)
1178
if (this.
substate
== Substate.Canceling)
1215
Fx.Assert(this.
substate
!= Substate.Initialized, "SetInitializedSubstate called when substate is already Initialized.");
1351
Fx.Assert(this.
substate
!= Substate.ResolvingVariables, "We must have already performed the same validations in advance.");
1352
Fx.Assert(this.
substate
!= Substate.ResolvingArguments, "We must have already performed the same validations in advance.");