public virtual void Reset() { if (_version != _hashtable._version) throw new InvalidOperationException(SR.InvalidOperation_EnumFailedVersion); _current = false; _bucket = _hashtable._buckets.Length; _currentKey = null; _currentValue = null; } }