2 writes to _sequence
System.Text.Json (2)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
245
_sequence
= default;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
52
_sequence
= jsonData;
10 references to _sequence
System.Text.Json (10)
System\Text\Json\Reader\Utf8JsonReader.cs (3)
51
internal readonly ReadOnlySequence<byte> OriginalSequence =>
_sequence
;
53
internal readonly ReadOnlySpan<byte> OriginalSpan =>
_sequence
.IsEmpty ? _buffer : default;
174
return
_sequence
.GetPosition(_consumed, _currentPosition);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (7)
306
bool noMoreData = !
_sequence
.TryGet(ref _nextPosition, out memory, advance: true);
325
_isLastSegment = !
_sequence
.TryGet(ref _nextPosition, out _, advance: false);
599
ValueSequence =
_sequence
.Slice(start, end);
945
ValueSequence =
_sequence
.Slice(start, end);
1087
ValueSequence =
_sequence
.Slice(start, end);
1239
ValueSequence =
_sequence
.Slice(start, end);
2194
ReadOnlySequence<byte> commentSequence =
_sequence
.Slice(start, end);