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