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; 1025_bytePositionInLine = idx - lastLineFeedIndex - 1; 1029_bytePositionInLine += idx; 1172_bytePositionInLine += literal.Length; 1188_bytePositionInLine += i; 1203_bytePositionInLine += indexOfFirstMismatch; 1239_bytePositionInLine += consumed; 1299_bytePositionInLine++; 1323_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 1339_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 1358_bytePositionInLine += idx + 1; // Add 1 for the first quote 1387_bytePositionInLine++; // move past the 'u' 1407_bytePositionInLine++; 1417_bytePositionInLine = prevLineBytePosition; 1422_bytePositionInLine++; // Add 1 for the end quote 1443_bytePositionInLine++; 1501_bytePositionInLine += i; 1525_bytePositionInLine += i; 1554_bytePositionInLine += i; 1574_bytePositionInLine += i; 1583_bytePositionInLine += i; 1620_bytePositionInLine += i; 1668_bytePositionInLine += i; 1676_bytePositionInLine += i; 1690_bytePositionInLine += i; 1704_bytePositionInLine += i; 1714_bytePositionInLine += i; 1737_bytePositionInLine = prevPosition; 1783_bytePositionInLine++; 1790_bytePositionInLine--; 1920_bytePositionInLine++; 1927_bytePositionInLine--; 2043_bytePositionInLine = prevPosition; 2210_bytePositionInLine = prevPosition; 2252_bytePositionInLine++; 2259_bytePositionInLine--; 2409_bytePositionInLine += 2 + localBuffer.Length; 2419_bytePositionInLine = 0; 2507_bytePositionInLine = idx - newLineIndex + 1; 2511_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; 1355long prevLineBytePosition = _bytePositionInLine; 1724long prevPosition = _bytePositionInLine; 2036long prevPosition = _bytePositionInLine; 2203long 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);