4 writes to _index
PresentationCore (4)
Core\CSharp\System\Windows\FreezableCollection.cs (4)
1034
_index
= -1;
1062
_current = _list._collection[++
_index
];
1067
_index
= -2; // -2 indicates "past the end"
1087
_index
= -1;
6 references to _index
PresentationCore (6)
Core\CSharp\System\Windows\FreezableCollection.cs (6)
1060
if (
_index
> -2 &&
_index
< _list._collection.Count - 1)
1119
if (
_index
> -1)
1123
else if (
_index
== -1)
1129
Debug.Assert(
_index
== -2, "expected -2, got " +
_index
+ "\n");