2 writes to _currentIndex
System.Linq.Parallel (2)
System\Linq\Parallel\Enumerables\RepeatEnumerable.cs (2)
104
_currentIndex
??= new Shared<int>(-1);
119
_currentIndex
= null;
3 references to _currentIndex
System.Linq.Parallel (3)
System\Linq\Parallel\Enumerables\RepeatEnumerable.cs (3)
106
if (
_currentIndex
.Value < (_count - 1))
108
++
_currentIndex
.Value;
110
currentKey =
_currentIndex
.Value + _indexOffset;