3 writes to _completed
Microsoft.CodeAnalysis.Collections.Package (3)
SegmentedArray.cs (3)
764
_completed
= 0;
786
_completed
= _current.Length;
793
_completed
+= _current.Length;
4 references to _completed
Microsoft.CodeAnalysis.Collections.Package (4)
SegmentedArray.cs (4)
772
if (
_completed
== _length)
778
if (
_completed
== 0)
791
var segment = _segments[(
_completed
+ _offset) >> SegmentedArrayHelper.GetSegmentShift<T>()];
792
_current = segment.AsMemory().Slice(0, Math.Min(SegmentedArrayHelper.GetSegmentSize<T>(), _length -
_completed
));