public int IndexOf(GameViewSize view) { int index = this.m_Builtin.IndexOf(view); if (index >= 0) { return index; } return this.m_Custom.IndexOf(view); }