4 writes to _index
PresentationCore (4)
System\Windows\Media\Generated\GradientStopCollection.cs (4)
839
_index
= -1;
866
_current = _list._collection[++
_index
];
871
_index
= -2; // -2 indicates "past the end"
891
_index
= -1;
6 references to _index
PresentationCore (6)
System\Windows\Media\Generated\GradientStopCollection.cs (6)
864
if (
_index
> -2 &&
_index
< _list._collection.Count - 1)
923
if (
_index
> -1)
927
else if (
_index
== -1)
933
Debug.Assert(
_index
== -2, "expected -2, got " +
_index
+ "\n");