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