3 writes to _completed
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Dependencies\Collections\SegmentedArray.cs (3)
764
_completed
= 0;
786
_completed
= _current.Length;
793
_completed
+= _current.Length;
4 references to _completed
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\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
));