18 references to LineFeed
System.Text.Json (18)
System\Text\Json\Reader\JsonReaderHelper.cs (2)
98int lastLineFeedIndex = data.LastIndexOf(JsonConstants.LineFeed); 105newLines += data.Count(JsonConstants.LineFeed);
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (1)
419destination[written++] = JsonConstants.LineFeed;
System\Text\Json\Reader\Utf8JsonReader.cs (5)
1052not JsonConstants.LineFeed and 1058if (val == JsonConstants.LineFeed) 2383if (localBuffer[idx] == JsonConstants.LineFeed) 2393if (localBuffer[idx + 1] == JsonConstants.LineFeed) 2440int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (7)
2318if (localBuffer[0] == JsonConstants.LineFeed) 2336if (localBuffer[idx] == JsonConstants.LineFeed) 2346if (localBuffer[idx + 1] == JsonConstants.LineFeed) 2420int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator); 2522if (localBuffer[0] == JsonConstants.LineFeed) 2531int idx = localBuffer.IndexOfAny(JsonConstants.Asterisk, JsonConstants.LineFeed, JsonConstants.CarriageReturn); 2547case JsonConstants.LineFeed:
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (2)
215case JsonConstants.LineFeed: 341case JsonConstants.LineFeed:
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
1181output[BytesPending++] = JsonConstants.LineFeed;