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 1395_bytePositionInLine++; // move past the 'u' 1415_bytePositionInLine++; 1425_bytePositionInLine = prevLineBytePosition; 1430_bytePositionInLine++; // Add 1 for the end quote 1451_bytePositionInLine++; 1509_bytePositionInLine += i; 1533_bytePositionInLine += i; 1562_bytePositionInLine += i; 1582_bytePositionInLine += i; 1591_bytePositionInLine += i; 1628_bytePositionInLine += i; 1676_bytePositionInLine += i; 1684_bytePositionInLine += i; 1698_bytePositionInLine += i; 1712_bytePositionInLine += i; 1722_bytePositionInLine += i; 1745_bytePositionInLine = prevPosition; 1791_bytePositionInLine++; 1798_bytePositionInLine--; 1928_bytePositionInLine++; 1935_bytePositionInLine--; 2051_bytePositionInLine = prevPosition; 2218_bytePositionInLine = prevPosition; 2260_bytePositionInLine++; 2267_bytePositionInLine--; 2417_bytePositionInLine += 2 + localBuffer.Length; 2427_bytePositionInLine = 0; 2515_bytePositionInLine = idx - newLineIndex + 1; 2519_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); 733_bytePositionInLine++; 757_bytePositionInLine += idx + 2; // Add 2 for the start and end quotes. 774_bytePositionInLine += localBuffer.Length + 1; // Account for the start quote 795_bytePositionInLine += leftOver; 813_bytePositionInLine += leftOver + idx + 1; // Add 1 for the end quote of the string. 821_bytePositionInLine += leftOver + idx; 854_bytePositionInLine++; // move past the 'u' 869_bytePositionInLine++; 905_bytePositionInLine++; 925_bytePositionInLine++; // Add 1 for the end quote of the string. 934_bytePositionInLine += localBuffer.Length; 958_bytePositionInLine += idx + 1; // Add 1 for the first quote 990_bytePositionInLine++; // move past the 'u' 1005_bytePositionInLine++; 1046_bytePositionInLine++; 1074_bytePositionInLine++; // Add 1 for the end quote of the string. 1083_bytePositionInLine++; // Add 1 for the end quote 1101_bytePositionInLine = state._prevBytePositionInLine; 1174_bytePositionInLine++; 1197_bytePositionInLine++; 1209_bytePositionInLine++; 1250_bytePositionInLine++; 1289_bytePositionInLine++; 1360_bytePositionInLine += counter; 1370_bytePositionInLine += counter; 1377_bytePositionInLine += counter; 1390_bytePositionInLine += i; 1407_bytePositionInLine += counter; 1448_bytePositionInLine++; 1481_bytePositionInLine++; 1534_bytePositionInLine = prevPosition; 1582_bytePositionInLine++; 1589_bytePositionInLine--; 1597_bytePositionInLine--; 1728_bytePositionInLine++; 1735_bytePositionInLine--; 1743_bytePositionInLine--; 1861_bytePositionInLine = prevPosition; 2031_bytePositionInLine = prevPosition; 2075_bytePositionInLine++; 2082_bytePositionInLine--; 2090_bytePositionInLine--; 2226_bytePositionInLine++; 2260_bytePositionInLine++; 2334_bytePositionInLine += idx + 1; 2350_bytePositionInLine++; 2361_bytePositionInLine += localBuffer.Length; 2394_bytePositionInLine = 0; 2513_bytePositionInLine++; 2545_bytePositionInLine += nextIdx; 2548_bytePositionInLine = 0; 2553_bytePositionInLine = 0; 2562_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; 1732long prevPosition = _bytePositionInLine; 2044long prevPosition = _bytePositionInLine; 2211long 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); 1520long prevPosition = _bytePositionInLine; 1854long prevPosition = _bytePositionInLine; 2023long prevPosition = _bytePositionInLine; 2592new PartialStateForRollback(_totalConsumed, _bytePositionInLine, _consumed, _currentPosition);