26 writes to _totalConsumed
System.Text.Json (26)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
237
_totalConsumed
= 0;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (25)
48
_totalConsumed
= 0;
188
_totalConsumed
= prevTotalConsumed;
329
_totalConsumed
+= _consumed;
574
_totalConsumed
+= alreadyMatched;
578
_totalConsumed
= prevTotalConsumed;
620
_totalConsumed
= prevTotalConsumed;
820
_totalConsumed
+= leftOver;
898
_totalConsumed
+= localBuffer.Length;
926
_totalConsumed
+= localBuffer.Length;
934
_totalConsumed
+= leftOver;
940
_totalConsumed
+= localBuffer.Length;
1038
_totalConsumed
+= data.Length;
1071
_totalConsumed
+= data.Length;
1084
_totalConsumed
+= leftOverFromConsumed;
1103
_totalConsumed
= state._prevTotalConsumed;
1276
_totalConsumed
+= i;
1326
_totalConsumed
+= i;
1384
_totalConsumed
+= i;
1444
_totalConsumed
+= i;
1479
_totalConsumed
+= i;
1507
_totalConsumed
+= i;
1544
_totalConsumed
= prevTotalConsumed;
1871
_totalConsumed
= prevTotalConsumed;
2041
_totalConsumed
= prevTotalConsumed;
2217
_totalConsumed
= prevTotalConsumed;
8 references to _totalConsumed
System.Text.Json (8)
System\Text\Json\Reader\Utf8JsonReader.cs (2)
84
Debug.Assert(
_totalConsumed
== 0);
87
return
_totalConsumed
+ _consumed;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
175
long prevTotalConsumed =
_totalConsumed
;
545
long prevTotalConsumed =
_totalConsumed
;
1526
long prevTotalConsumed =
_totalConsumed
;
1860
long prevTotalConsumed =
_totalConsumed
;
2029
long prevTotalConsumed =
_totalConsumed
;
2601
return new PartialStateForRollback(
_totalConsumed
, _bytePositionInLine, _consumed, _currentPosition);