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)
173
Debug.Assert(
_currentPosition
.GetObject() != null);
174
return _sequence.GetPosition(_consumed,
_currentPosition
);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (27)
66
_nextPosition =
_currentPosition
;
94
Debug.Assert(!_nextPosition.Equals(
_currentPosition
));
179
SequencePosition copy =
_currentPosition
;
303
Debug.Assert(!_isMultiSegment ||
_currentPosition
.GetObject() != null);
304
SequencePosition copy =
_currentPosition
;
320
Debug.Assert(!_isMultiSegment ||
_currentPosition
.GetObject() != null);
445
SequencePosition copy =
_currentPosition
;
458
SequencePosition copy =
_currentPosition
;
546
SequencePosition copy =
_currentPosition
;
569
SequencePosition startPosition =
_currentPosition
;
598
SequencePosition end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + leftToMatch.Length);
818
end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + idx);
935
end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + idx);
1085
end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + idx);
1238
SequencePosition end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + i);
1531
SequencePosition prevSequencePosition =
_currentPosition
;
2033
SequencePosition copy =
_currentPosition
;
2181
SequencePosition start = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + _consumed);
2192
SequencePosition end = new SequencePosition(
_currentPosition
.GetObject(),
_currentPosition
.GetInteger() + _consumed);
2601
return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed,
_currentPosition
);