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)
531Debug.Assert(_currentIndex == null, "Expected deferred allocation to ensure it happens on correct thread"); 540int current = ++_currentIndex.Value;