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); 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; 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 = 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);