public bool MoveNext() { int stateCount = m_Outer.GetStateCount(); m_CurrentIndex++; return(m_CurrentIndex < stateCount); }