protected void ExitTo(TState nextState) { if (owner.CurrentState == this) { owner.ExitTo(nextState); } }