public void Reset() { if (version != bitarray._version) throw new InvalidOperationException(SR.InvalidOperation_EnumFailedVersion); index = -1; } }