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