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