3 writes to _completed
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\SegmentedArray.cs (3)
715
_completed
= 0;
737
_completed
= _current.Length;
744
_completed
+= _current.Length;
4 references to _completed
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\SegmentedArray.cs (4)
723
if (
_completed
== _length)
729
if (
_completed
== 0)
742
var segment = _segments[(
_completed
+ _offset) >> SegmentedArrayHelper.GetSegmentShift<T>()];
743
_current = segment.AsMemory().Slice(0, Math.Min(SegmentedArrayHelper.GetSegmentSize<T>(), _length -
_completed
));