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)
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));