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