4 writes to CurrentConditionIndex
System.Activities (4)
System\Activities\Statements\InternalState.cs (4)
618eventManager.CurrentConditionIndex = updatedIndex; 729eventManager.CurrentConditionIndex = -1; 734eventManager.CurrentConditionIndex = 0; 763eventManager.CurrentConditionIndex = currentConditionIndex;
12 references to CurrentConditionIndex
System.Activities (12)
System\Activities\Statements\InternalState.cs (12)
577if (eventManager.CurrentConditionIndex == -1) 600else if (eventManager.CurrentConditionIndex >= 0) 613if (eventManager.CurrentConditionIndex == savedCondIndex) 616originalConditionIndex = eventManager.CurrentConditionIndex; 738eventManager.CurrentConditionIndex), 756int currentConditionIndex = eventManager.CurrentConditionIndex; 757Fx.Assert(eventManager.CurrentConditionIndex >= 0, "Conditional Transition must have non-negative index."); 801Activity action = transition.TransitionDataList[-1 == eventManager.CurrentConditionIndex ? 0 : eventManager.CurrentConditionIndex].Action; 883Fx.Assert(-1 == eventManager.CurrentConditionIndex, "CurrentConditionIndex should be -1, if the transition is unconditional."); 888Fx.Assert(-1 != eventManager.CurrentConditionIndex, "CurrentConditionIndex should not be -1, if the transition is conditional."); 889this.PrepareForExit(context, this.GetTo(triggerId, eventManager.CurrentConditionIndex));