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