18 references to LineFeed
System.Text.Json (18)
System\Text\Json\Reader\JsonReaderHelper.cs (2)
27int lastLineFeedIndex = data.LastIndexOf(JsonConstants.LineFeed); 35newLines += data.Count(JsonConstants.LineFeed);
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (1)
507destination[written++] = JsonConstants.LineFeed;
System\Text\Json\Reader\Utf8JsonReader.cs (5)
1018not JsonConstants.LineFeed and 1024if (val == JsonConstants.LineFeed) 2350if (localBuffer[idx] == JsonConstants.LineFeed) 2360if (localBuffer[idx + 1] == JsonConstants.LineFeed) 2407int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (7)
2326if (localBuffer[0] == JsonConstants.LineFeed) 2344if (localBuffer[idx] == JsonConstants.LineFeed) 2354if (localBuffer[idx + 1] == JsonConstants.LineFeed) 2428int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator); 2530if (localBuffer[0] == JsonConstants.LineFeed) 2539int idx = localBuffer.IndexOfAny(JsonConstants.Asterisk, JsonConstants.LineFeed, JsonConstants.CarriageReturn); 2555case JsonConstants.LineFeed:
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (2)
160case JsonConstants.LineFeed: 273case JsonConstants.LineFeed:
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
1035output[BytesPending++] = JsonConstants.LineFeed;