System\Buffers\ReadOnlySequence.cs (2)
216end = GetEndPosition(startSegment, startObject, startIndex, endObject!, endIndex, length);
231end = GetEndPosition((ReadOnlySequenceSegment<T>)beginObject, beginObject, beginIndex, endObject!, endIndex, length);