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)
84Debug.Assert(_totalConsumed == 0); 87return _totalConsumed + _consumed;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
175long prevTotalConsumed = _totalConsumed; 545long prevTotalConsumed = _totalConsumed; 1526long prevTotalConsumed = _totalConsumed; 1860long prevTotalConsumed = _totalConsumed; 2029long prevTotalConsumed = _totalConsumed; 2601return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);