4 writes to _index
System.Collections.NonGeneric (4)
System\Collections\Stack.cs (4)
332
_index
= -2;
344
_index
= _stack._size - 1;
355
retval = (--
_index
>= 0);
376
_index
= -2;
7 references to _index
System.Collections.NonGeneric (7)
System\Collections\Stack.cs (7)
342
if (
_index
== -2)
345
retval = (
_index
>= 0);
347
_currentElement = _stack._array[
_index
];
350
if (
_index
== -1)
357
_currentElement = _stack._array[
_index
];
367
if (
_index
== -2) throw new InvalidOperationException(SR.InvalidOperation_EnumNotStarted);
368
if (
_index
== -1) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);