17 writes to _currentPosition
System.Text.Json (17)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
243_currentPosition = default;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (16)
59_currentPosition = jsonData.Start; 65_currentPosition = jsonData.Start; 77_currentPosition = previousNextPosition; 189_currentPosition = copy; 305_currentPosition = _nextPosition; 309_currentPosition = copy; 319_currentPosition = copy; 448_currentPosition = copy; 473_currentPosition = copy; 486_currentPosition = copy; 497_currentPosition = copy; 580_currentPosition = copy; 622_currentPosition = copy; 1113_currentPosition = state._prevCurrentPosition; 1545_currentPosition = prevSequencePosition; 2042_currentPosition = copy;
29 references to _currentPosition
System.Text.Json (29)
System\Text\Json\Reader\Utf8JsonReader.cs (2)
173Debug.Assert(_currentPosition.GetObject() != null); 174return _sequence.GetPosition(_consumed, _currentPosition);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (27)
66_nextPosition = _currentPosition; 94Debug.Assert(!_nextPosition.Equals(_currentPosition)); 179SequencePosition copy = _currentPosition; 303Debug.Assert(!_isMultiSegment || _currentPosition.GetObject() != null); 304SequencePosition copy = _currentPosition; 320Debug.Assert(!_isMultiSegment || _currentPosition.GetObject() != null); 445SequencePosition copy = _currentPosition; 458SequencePosition copy = _currentPosition; 546SequencePosition copy = _currentPosition; 569SequencePosition startPosition = _currentPosition; 598SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + leftToMatch.Length); 818end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx); 935end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx); 1085end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + idx); 1238SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + i); 1531SequencePosition prevSequencePosition = _currentPosition; 2033SequencePosition copy = _currentPosition; 2181SequencePosition start = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + _consumed); 2192SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.GetInteger() + _consumed); 2601return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);