3 writes to _currentBuffer
System.Linq.Parallel (3)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (3)
159
mutables.
_currentBuffer
= mutables._currentBuffer.Next;
191
mutables.
_currentBuffer
= _valueExchangeMatrix[mutables._currentBufferIndex][_partitionIndex];
272
mutables.
_currentBuffer
= privateBuffers[_partitionIndex];
9 references to _currentBuffer
System.Linq.Parallel (9)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (9)
143
if (mutables.
_currentBuffer
!= null)
147
if (++mutables._currentIndex < mutables.
_currentBuffer
.Count)
150
currentElement = mutables.
_currentBuffer
._chunk[mutables._currentIndex];
159
mutables._currentBuffer = mutables.
_currentBuffer
.Next;
161
Debug.Assert(mutables.
_currentBuffer
== null || mutables.
_currentBuffer
.Count > 0);
162
Debug.Assert((mutables.
_currentBuffer
== null) == (mutables._currentKeyBuffer == null));
163
Debug.Assert(mutables.
_currentBuffer
== null || mutables.
_currentBuffer
.Count == mutables._currentKeyBuffer!.Count);