1 instantiation of PartialStateForRollback
System.Text.Json (1)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
2601return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);
9 references to PartialStateForRollback
System.Text.Json (9)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (9)
789PartialStateForRollback rollBackState = CaptureState(); 959PartialStateForRollback rollBackState = CaptureState(); 1101private void RollBackState(scoped in PartialStateForRollback state, bool isError = false) 1122PartialStateForRollback rollBackState = CaptureState(); 1250private ConsumeNumberResult ConsumeNegativeSignMultiSegment(ref ReadOnlySpan<byte> data, scoped ref int i, scoped in PartialStateForRollback rollBackState) 1292private ConsumeNumberResult ConsumeZeroMultiSegment(ref ReadOnlySpan<byte> data, scoped ref int i, scoped in PartialStateForRollback rollBackState) 1426private ConsumeNumberResult ConsumeDecimalDigitsMultiSegment(ref ReadOnlySpan<byte> data, scoped ref int i, scoped in PartialStateForRollback rollBackState) 1460private ConsumeNumberResult ConsumeSignMultiSegment(ref ReadOnlySpan<byte> data, scoped ref int i, scoped in PartialStateForRollback rollBackState) 2599private PartialStateForRollback CaptureState()