9 references to _segments
System.Linq (9)
System\Linq\SegmentedArrayBuilder.cs (9)
28/// <remarks><see cref="_segmentsCount"/> is how many of the segments are valid in <see cref="_segments"/>, not including <see cref="_firstSegment"/>.</remarks> 31/// <remarks>This is treated as the initial segment, before anything in <see cref="_segments"/>.</remarks> 33/// <summary>The current span. This points either to <see cref="_firstSegment"/> or to <see cref="_segments"/>[<see cref="_segmentsCount"/> - 1].</summary> 35/// <summary>The count of segments in <see cref="_segments"/> that are valid.</summary> 63ReadOnlySpan<T[]> segments = _segments; 176collection.CopyTo(_segments[_segmentsCount - 1], 0); 184collection.CopyTo(_segments[_segmentsCount - 1], _countInCurrentSegment); 318foreach (T[] arr in ((ReadOnlySpan<T[]>)_segments).Slice(0, segmentsCount)) 355_currentSegment = _segments[_segmentsCount] = ArrayPool<T>.Shared.Rent(newSegmentLength);