2 overrides of SourceCount
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
1204protected override int SourceCount 1290protected override int SourceCount
2 references to SourceCount
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
1101long newSharedIndex = Math.Min(SourceCount - 1, oldSharedIndex + requestedChunkSize); 1132return Volatile.Read(ref _sharedIndex.Value) >= SourceCount - 1;