4 writes to _index
mscorlib (4)
system\collections\stack.cs (4)
317_index = -2; 330_index = _stack._size-1; 340retval = (--_index >= 0); 358_index = -2;
7 references to _index
mscorlib (7)
system\collections\stack.cs (7)
329if (_index == -2) { // First call to enumerator. 331retval = ( _index >= 0); 333currentElement = _stack._array[_index]; 336if (_index == -1) { // End of enumeration. 342currentElement = _stack._array[_index]; 350if (_index == -2) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 351if (_index == -1) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));