7 writes to _nextPosition
System.Text.Json (7)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
244_nextPosition = default;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
58_nextPosition = default; 66_nextPosition = _currentPosition; 74while (jsonData.TryGet(ref _nextPosition, out ReadOnlyMemory<byte> memory, advance: true)) 92_isLastSegment = !jsonData.TryGet(ref _nextPosition, out _, advance: !firstSegmentIsEmpty) && isFinalBlock; // Don't re-order to avoid short-circuiting 306bool noMoreData = !_sequence.TryGet(ref _nextPosition, out memory, advance: true); 325_isLastSegment = !_sequence.TryGet(ref _nextPosition, out _, advance: false);
4 references to _nextPosition
System.Text.Json (4)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (4)
73SequencePosition previousNextPosition = _nextPosition; 83previousNextPosition = _nextPosition; 94Debug.Assert(!_nextPosition.Equals(_currentPosition)); 305_currentPosition = _nextPosition;