25 references to SequencePosition
System.Memory (16)
System\Buffers\ReadOnlySequence.cs (10)
63
get => new
SequencePosition
(_startObject, GetIndex(_startInteger));
72
get => new
SequencePosition
(_endObject, GetIndex(_endInteger));
214
begin = new
SequencePosition
(startObject, startIndex);
238
end = new
SequencePosition
(beginObject, beginIndex + (int)length);
248
begin = new
SequencePosition
(startObject, startIndex);
253
end = new
SequencePosition
(startObject, startIndex + (int)length);
335
return SliceImpl(new
SequencePosition
(startObject, (int)startIndex + (int)start), new
SequencePosition
(sliceEndObject, (int)sliceEndIndex));
418
return SliceImpl(new
SequencePosition
(sliceStartObject, (int)sliceStartIndex), new
SequencePosition
(sliceStartObject, (int)sliceStartIndex + (int)length));
System\Buffers\ReadOnlySequence.Helpers.cs (6)
43
next = new
SequencePosition
(nextSegment, 0);
267
return new
SequencePosition
(startObject, startIndex + (int)offset);
303
return new
SequencePosition
(startObject, startIndex + (int)offset);
330
return new
SequencePosition
(currentSegment, (int)offset);
429
return new
SequencePosition
(startObject, startIndex + (int)length);
652
next = new
SequencePosition
(segment.Next, 0);
System.Text.Json (9)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (9)
597
SequencePosition start = new
SequencePosition
(startPosition.GetObject(), startPosition.GetInteger() + startConsumed);
598
SequencePosition end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + leftToMatch.Length);
818
end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx);
935
end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx);
1085
end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx);
1238
SequencePosition end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + i);
2181
SequencePosition start = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + _consumed);
2192
SequencePosition end = new
SequencePosition
(_currentPosition.GetObject(), _currentPosition.GetInteger() + _consumed);
2621
return new
SequencePosition
(_prevCurrentPosition.GetObject(), _prevCurrentPosition.GetInteger() + _prevConsumed + offset);