2 references to CountNewLines
System.Text.Json (2)
System\Text\Json\Reader\Utf8JsonReader.cs (2)
1020
(int newLines, int lastLineFeedIndex) = JsonReaderHelper.
CountNewLines
(remaining.Slice(0, idx));
2501
(int newLines, int newLineIndex) = JsonReaderHelper.
CountNewLines
(localBuffer.Slice(0, idx));