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)
2333
if (localBuffer[0] == JsonConstants.
LineFeed
)
2351
if (localBuffer[idx] == JsonConstants.
LineFeed
)
2361
if (localBuffer[idx + 1] == JsonConstants.
LineFeed
)
2435
int idx = localBuffer.IndexOfAny(JsonConstants.
LineFeed
, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
2537
if (localBuffer[0] == JsonConstants.
LineFeed
)
2546
int idx = localBuffer.IndexOfAny(JsonConstants.Asterisk, JsonConstants.
LineFeed
, JsonConstants.CarriageReturn);
2562
case JsonConstants.
LineFeed
:
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (2)
172
case JsonConstants.
LineFeed
:
292
case JsonConstants.
LineFeed
:
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
1135
output[BytesPending++] = JsonConstants.
LineFeed
;