1 write to _currentIndex
System.Linq.Parallel (1)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (1)
366
_currentIndex
??= new Shared<int>(_startIndex);
2 references to _currentIndex
System.Linq.Parallel (2)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (2)
360
Debug.Assert(
_currentIndex
== null, "Expected deferred allocation to ensure it happens on correct thread");
369
int current = ++
_currentIndex
.Value;