109 writes to _bytePositionInLine
System.Text.Json (109)
System\Text\Json\Reader\Utf8JsonReader.cs (47)
221_bytePositionInLine = state._bytePositionInLine; 748_bytePositionInLine++; 782_bytePositionInLine++; 811_bytePositionInLine++; 877_bytePositionInLine = prevPosition; 968_bytePositionInLine++; 978_bytePositionInLine++; 994_bytePositionInLine += numberOfBytes; 1027_bytePositionInLine = 0; 1031_bytePositionInLine++; 1147_bytePositionInLine += literal.Length; 1163_bytePositionInLine += i; 1178_bytePositionInLine += indexOfFirstMismatch; 1214_bytePositionInLine += consumed; 1274_bytePositionInLine++; 1298_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 1314_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 1333_bytePositionInLine += idx + 1; // Add 1 for the first quote 1362_bytePositionInLine++; // move past the 'u' 1382_bytePositionInLine++; 1392_bytePositionInLine = prevLineBytePosition; 1397_bytePositionInLine++; // Add 1 for the end quote 1418_bytePositionInLine++; 1476_bytePositionInLine += i; 1500_bytePositionInLine += i; 1529_bytePositionInLine += i; 1549_bytePositionInLine += i; 1558_bytePositionInLine += i; 1595_bytePositionInLine += i; 1643_bytePositionInLine += i; 1651_bytePositionInLine += i; 1665_bytePositionInLine += i; 1679_bytePositionInLine += i; 1689_bytePositionInLine += i; 1712_bytePositionInLine = prevPosition; 1758_bytePositionInLine++; 1765_bytePositionInLine--; 1895_bytePositionInLine++; 1902_bytePositionInLine--; 2018_bytePositionInLine = prevPosition; 2185_bytePositionInLine = prevPosition; 2227_bytePositionInLine++; 2234_bytePositionInLine--; 2384_bytePositionInLine += 2 + localBuffer.Length; 2394_bytePositionInLine = 0; 2482_bytePositionInLine = idx - newLineIndex + 1; 2486_bytePositionInLine += 4 + idx;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (62)
32_bytePositionInLine = state._bytePositionInLine; 186_bytePositionInLine = prevPosition; 343_bytePositionInLine++; 353_bytePositionInLine++; 534_bytePositionInLine += consumed; 549_bytePositionInLine += FindMismatch(span, literal); 560_bytePositionInLine += FindMismatch(span, literal); 575_bytePositionInLine += alreadyMatched; 606_bytePositionInLine += FindMismatch(span, leftToMatch); 739_bytePositionInLine++; 763_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 780_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 801_bytePositionInLine += leftOver; 819_bytePositionInLine += leftOver + idx + 1; // Add 1 for the end quote of the string. 827_bytePositionInLine += leftOver + idx; 861_bytePositionInLine++; // move past the 'u' 876_bytePositionInLine++; 912_bytePositionInLine++; 932_bytePositionInLine++; // Add 1 for the end quote of the string. 941_bytePositionInLine += localBuffer.Length; 965_bytePositionInLine += idx + 1; // Add 1 for the first quote 998_bytePositionInLine++; // move past the 'u' 1013_bytePositionInLine++; 1054_bytePositionInLine++; 1082_bytePositionInLine++; // Add 1 for the end quote of the string. 1091_bytePositionInLine++; // Add 1 for the end quote 1109_bytePositionInLine = state._prevBytePositionInLine; 1182_bytePositionInLine++; 1205_bytePositionInLine++; 1217_bytePositionInLine++; 1258_bytePositionInLine++; 1297_bytePositionInLine++; 1368_bytePositionInLine += counter; 1378_bytePositionInLine += counter; 1385_bytePositionInLine += counter; 1398_bytePositionInLine += i; 1415_bytePositionInLine += counter; 1456_bytePositionInLine++; 1489_bytePositionInLine++; 1542_bytePositionInLine = prevPosition; 1590_bytePositionInLine++; 1597_bytePositionInLine--; 1605_bytePositionInLine--; 1736_bytePositionInLine++; 1743_bytePositionInLine--; 1751_bytePositionInLine--; 1869_bytePositionInLine = prevPosition; 2039_bytePositionInLine = prevPosition; 2083_bytePositionInLine++; 2090_bytePositionInLine--; 2098_bytePositionInLine--; 2234_bytePositionInLine++; 2268_bytePositionInLine++; 2342_bytePositionInLine += idx + 1; 2358_bytePositionInLine++; 2369_bytePositionInLine += localBuffer.Length; 2402_bytePositionInLine = 0; 2521_bytePositionInLine++; 2553_bytePositionInLine += nextIdx; 2556_bytePositionInLine = 0; 2561_bytePositionInLine = 0; 2570_bytePositionInLine += localBuffer.Length;
14 references to _bytePositionInLine
System.Text.Json (14)
System\Text\Json\Reader\Utf8JsonReader.cs (6)
190bytePositionInLine: _bytePositionInLine, 869long prevPosition = _bytePositionInLine; 1330long prevLineBytePosition = _bytePositionInLine; 1699long prevPosition = _bytePositionInLine; 2011long prevPosition = _bytePositionInLine; 2178long prevPosition = _bytePositionInLine;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (8)
177long prevPosition = _bytePositionInLine; 551int amountToWrite = Math.Min(span.Length, (int)_bytePositionInLine + 1); 561int amountToWrite = Math.Min(span.Length, (int)_bytePositionInLine + 1); 608amountToWrite = Math.Min(span.Length, (int)_bytePositionInLine + 1); 1528long prevPosition = _bytePositionInLine; 1862long prevPosition = _bytePositionInLine; 2031long prevPosition = _bytePositionInLine; 2601return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);