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