2 writes to StateId
System.Activities (2)
System\Activities\Statements\StateMachine.cs (2)
270state.StateId = null; 542state.StateId = StateMachineIdHelper.GenerateStateId(RootId, i);
9 references to StateId
System.Activities (9)
System\Activities\Statements\InternalState.cs (1)
125return this.state.StateId;
System\Activities\Statements\StateMachine.cs (8)
226int index = StateMachineIdHelper.GetChildStateIndex(RootId, this.InitialState.StateId); 247if (!string.IsNullOrEmpty(state.StateId)) 249transition.Id = StateMachineIdHelper.GenerateTransitionId(state.StateId, i); 299Fx.Assert(!string.IsNullOrEmpty(state.StateId), "StateId should have been set."); 366else if (string.IsNullOrEmpty(transition.To.StateId)) 488Fx.Assert(!string.IsNullOrEmpty(this.InitialState.StateId), "StateId should have get set on the initialState."); 498Fx.Assert(string.IsNullOrEmpty(this.InitialState.StateId), "Initial state would not have an id because it is not in the States collection."); 540if (string.IsNullOrEmpty(state.StateId))