1 write to _sharedIndex
System.Collections.Concurrent (1)
System\Collections\Concurrent\PartitionerStatic.cs (1)
337
_sharedIndex
= sharedIndex;
5 references to _sharedIndex
System.Collections.Concurrent (5)
System\Collections\Concurrent\PartitionerStatic.cs (5)
1088
Debug.Assert(
_sharedIndex
!= null);
1090
long oldSharedIndex = Volatile.Read(ref
_sharedIndex
.Value);
1106
if (Interlocked.CompareExchange(ref
_sharedIndex
.Value, newSharedIndex, oldSharedIndex)
1130
Debug.Assert(
_sharedIndex
!= null);
1132
return Volatile.Read(ref
_sharedIndex
.Value) >= SourceCount - 1;