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