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