5 writes to _index
System (5)
compmod\system\collections\generic\stack.cs (5)
272_index = -2; 279_index = -1; 287_index = _stack._size-1; 297retval = (--_index >= 0); 324_index = -2;
9 references to _index
System (9)
compmod\system\collections\generic\stack.cs (9)
286if (_index == -2) { // First call to enumerator. 288retval = ( _index >= 0); 290currentElement = _stack._array[_index]; 293if (_index == -1) { // End of enumeration. 299currentElement = _stack._array[_index]; 308if (_index == -2) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 309if (_index == -1) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded); 316if (_index == -2) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumNotStarted); 317if (_index == -1) ThrowHelper.ThrowInvalidOperationException(ExceptionResource.InvalidOperation_EnumEnded);