111 writes to _bytePositionInLine
System.Text.Json (111)
System\Text\Json\Reader\Utf8JsonReader.cs (49)
221_bytePositionInLine = state._bytePositionInLine; 748_bytePositionInLine++; 782_bytePositionInLine++; 811_bytePositionInLine++; 877_bytePositionInLine = prevPosition; 968_bytePositionInLine++; 978_bytePositionInLine++; 994_bytePositionInLine += numberOfBytes; 1032_bytePositionInLine = idx - lastLineFeedIndex - 1; 1036_bytePositionInLine += idx; 1061_bytePositionInLine = 0; 1065_bytePositionInLine++; 1181_bytePositionInLine += literal.Length; 1197_bytePositionInLine += i; 1212_bytePositionInLine += indexOfFirstMismatch; 1248_bytePositionInLine += consumed; 1308_bytePositionInLine++; 1332_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 1348_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 1367_bytePositionInLine += idx + 1; // Add 1 for the first quote 1396_bytePositionInLine++; // move past the 'u' 1416_bytePositionInLine++; 1426_bytePositionInLine = prevLineBytePosition; 1431_bytePositionInLine++; // Add 1 for the end quote 1452_bytePositionInLine++; 1510_bytePositionInLine += i; 1534_bytePositionInLine += i; 1563_bytePositionInLine += i; 1583_bytePositionInLine += i; 1592_bytePositionInLine += i; 1629_bytePositionInLine += i; 1677_bytePositionInLine += i; 1685_bytePositionInLine += i; 1699_bytePositionInLine += i; 1713_bytePositionInLine += i; 1723_bytePositionInLine += i; 1746_bytePositionInLine = prevPosition; 1792_bytePositionInLine++; 1799_bytePositionInLine--; 1929_bytePositionInLine++; 1936_bytePositionInLine--; 2052_bytePositionInLine = prevPosition; 2219_bytePositionInLine = prevPosition; 2261_bytePositionInLine++; 2268_bytePositionInLine--; 2418_bytePositionInLine += 2 + localBuffer.Length; 2428_bytePositionInLine = 0; 2516_bytePositionInLine = idx - newLineIndex + 1; 2520_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); 746_bytePositionInLine++; 770_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 787_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 808_bytePositionInLine += leftOver; 826_bytePositionInLine += leftOver + idx + 1; // Add 1 for the end quote of the string. 834_bytePositionInLine += leftOver + idx; 868_bytePositionInLine++; // move past the 'u' 883_bytePositionInLine++; 919_bytePositionInLine++; 939_bytePositionInLine++; // Add 1 for the end quote of the string. 948_bytePositionInLine += localBuffer.Length; 972_bytePositionInLine += idx + 1; // Add 1 for the first quote 1005_bytePositionInLine++; // move past the 'u' 1020_bytePositionInLine++; 1061_bytePositionInLine++; 1089_bytePositionInLine++; // Add 1 for the end quote of the string. 1098_bytePositionInLine++; // Add 1 for the end quote 1116_bytePositionInLine = state._prevBytePositionInLine; 1189_bytePositionInLine++; 1212_bytePositionInLine++; 1224_bytePositionInLine++; 1265_bytePositionInLine++; 1304_bytePositionInLine++; 1375_bytePositionInLine += counter; 1385_bytePositionInLine += counter; 1392_bytePositionInLine += counter; 1405_bytePositionInLine += i; 1422_bytePositionInLine += counter; 1463_bytePositionInLine++; 1496_bytePositionInLine++; 1549_bytePositionInLine = prevPosition; 1597_bytePositionInLine++; 1604_bytePositionInLine--; 1612_bytePositionInLine--; 1743_bytePositionInLine++; 1750_bytePositionInLine--; 1758_bytePositionInLine--; 1876_bytePositionInLine = prevPosition; 2046_bytePositionInLine = prevPosition; 2090_bytePositionInLine++; 2097_bytePositionInLine--; 2105_bytePositionInLine--; 2241_bytePositionInLine++; 2275_bytePositionInLine++; 2349_bytePositionInLine += idx + 1; 2365_bytePositionInLine++; 2376_bytePositionInLine += localBuffer.Length; 2409_bytePositionInLine = 0; 2528_bytePositionInLine++; 2560_bytePositionInLine += nextIdx; 2563_bytePositionInLine = 0; 2568_bytePositionInLine = 0; 2577_bytePositionInLine += localBuffer.Length;
14 references to _bytePositionInLine
System.Text.Json (14)
System\Text\Json\Reader\Utf8JsonReader.cs (6)
190bytePositionInLine: _bytePositionInLine, 869long prevPosition = _bytePositionInLine; 1364long prevLineBytePosition = _bytePositionInLine; 1733long prevPosition = _bytePositionInLine; 2045long prevPosition = _bytePositionInLine; 2212long prevPosition = _bytePositionInLine;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (8)
177long prevPosition = _bytePositionInLine; 551int amountToWrite = AmountToWrite(span, _bytePositionInLine, readSoFar, written); 561int amountToWrite = AmountToWrite(span, _bytePositionInLine, readSoFar, written); 608amountToWrite = AmountToWrite(span, _bytePositionInLine, readSoFar, written); 1535long prevPosition = _bytePositionInLine; 1869long prevPosition = _bytePositionInLine; 2038long prevPosition = _bytePositionInLine; 2608return new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);