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;
74
while (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
306
bool 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)
73
SequencePosition previousNextPosition =
_nextPosition
;
83
previousNextPosition =
_nextPosition
;
94
Debug.Assert(!
_nextPosition
.Equals(_currentPosition));
305
_currentPosition =
_nextPosition
;