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