3 writes to _completed
Microsoft.CodeAnalysis.CodeStyle (3)
src\Dependencies\Collections\SegmentedArray.cs (3)
715_completed = 0; 737_completed = _current.Length; 744_completed += _current.Length;
4 references to _completed
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\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));