10 writes to ValueIsEscaped
System.Text.Json (10)
System\Text\Json\Reader\Utf8JsonReader.cs (4)
224
ValueIsEscaped
= state._valueIsEscaped;
819
ValueIsEscaped
= false;
1300
ValueIsEscaped
= false;
1399
ValueIsEscaped
= true;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
35
ValueIsEscaped
= state._valueIsEscaped;
124
ValueIsEscaped
= false;
766
ValueIsEscaped
= false;
822
ValueIsEscaped
= false;
828
ValueIsEscaped
= true;
1096
ValueIsEscaped
= true;
22 references to ValueIsEscaped
System.Text.Json (22)
System\Text\Json\Document\JsonDocument.cs (2)
1059
if (reader.
ValueIsEscaped
)
1084
if (reader.
ValueIsEscaped
)
System\Text\Json\JsonHelpers.cs (1)
25
return reader.
ValueIsEscaped
? JsonReaderHelper.GetUnescapedSpan(span) : span;
System\Text\Json\Reader\Utf8JsonReader.cs (6)
193
valueIsEscaped:
ValueIsEscaped
,
496
if (
ValueIsEscaped
)
578
if (
ValueIsEscaped
)
719
|| sourceLength / (
ValueIsEscaped
? JsonConstants.MaxExpansionFactorWhileEscaping : JsonConstants.MaxExpansionFactorWhileTranscoding) > charTextLength)
732
|| sourceLength / (
ValueIsEscaped
? JsonConstants.MaxExpansionFactorWhileEscaping : JsonConstants.MaxExpansionFactorWhileTranscoding) > charTextLength)
2583
if (
ValueIsEscaped
)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (10)
41
if (
ValueIsEscaped
)
82
Debug.Assert(_tokenType != JsonTokenType.Number || !
ValueIsEscaped
, "Numbers can't contain escape characters.");
86
if (
ValueIsEscaped
)
146
Debug.Assert(_tokenType != JsonTokenType.Number || !
ValueIsEscaped
, "Numbers can't contain escape characters.");
152
if (
ValueIsEscaped
)
198
Debug.Assert(
ValueIsEscaped
);
836
if (
ValueIsEscaped
)
1272
if (
ValueIsEscaped
)
1337
if (
ValueIsEscaped
)
1403
if (
ValueIsEscaped
)
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
39
if (!reader.HasValueSequence && !reader.
ValueIsEscaped
)
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
43
if (!reader.HasValueSequence && !reader.
ValueIsEscaped
)
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
43
if (!reader.HasValueSequence && !reader.
ValueIsEscaped
)