1 write to InitialState
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\Factories\StateMachineWithInitialStateFactory.cs (1)
32InitialState = state
10 references to InitialState
System.Activities (10)
System\Activities\Statements\StateMachine.cs (10)
226int index = StateMachineIdHelper.GetChildStateIndex(RootId, this.InitialState.StateId); 480if (this.InitialState == null) 486if (this.InitialState.IsFinal) 488Fx.Assert(!string.IsNullOrEmpty(this.InitialState.StateId), "StateId should have get set on the initialState."); 490SR.InitialStateCannotBeFinalState(this.InitialState.DisplayName), 493sourceDetail: this.InitialState)); 496if (!this.States.Contains(this.InitialState)) 498Fx.Assert(string.IsNullOrEmpty(this.InitialState.StateId), "Initial state would not have an id because it is not in the States collection."); 499metadata.AddValidationError(SR.InitialStateNotInStatesCollection(this.InitialState.DisplayName)); 561stack.Push(this.InitialState);