37 references to Slash
System.Text.Json (37)
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (2)
427
case JsonConstants.
Slash
:
428
destination[written++] = JsonConstants.
Slash
;
System\Text\Json\Reader\Utf8JsonReader.cs (15)
849
if (first == JsonConstants.
Slash
)
1079
Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.
Slash
) || !_trailingCommaBeforeComment);
1117
if (marker == JsonConstants.
Slash
)
1124
if (marker == JsonConstants.
Slash
)
1763
if (marker == JsonConstants.
Slash
)
1820
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && first == JsonConstants.
Slash
)
1916
Debug.Assert(first != JsonConstants.
Slash
);
1957
if (first == JsonConstants.
Slash
)
2119
while (marker == JsonConstants.
Slash
)
2154
while (marker == JsonConstants.
Slash
)
2356
if (marker == JsonConstants.
Slash
)
2366
ThrowHelper.ThrowJsonReaderException(ref this, ExceptionResource.ExpectedStartOfValueNotFound, JsonConstants.
Slash
);
2372
ThrowHelper.ThrowJsonReaderException(ref this, ExceptionResource.ExpectedStartOfValueNotFound, JsonConstants.
Slash
);
2486
int foundIdx = localBuffer.Slice(idx).IndexOf(JsonConstants.
Slash
);
2533
if (marker == JsonConstants.
Slash
)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (12)
156
if (first == JsonConstants.
Slash
)
405
Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.
Slash
) || !_trailingCommaBeforeComment);
443
if (marker == JsonConstants.
Slash
)
456
if (marker == JsonConstants.
Slash
)
1568
if (marker == JsonConstants.
Slash
)
1634
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && first == JsonConstants.
Slash
)
1730
Debug.Assert(first != JsonConstants.
Slash
);
1780
if (first == JsonConstants.
Slash
)
1944
while (marker == JsonConstants.
Slash
)
1979
while (marker == JsonConstants.
Slash
)
2267
if (marker is not (JsonConstants.
Slash
or JsonConstants.Asterisk))
2525
if (localBuffer[0] == JsonConstants.
Slash
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (8)
93
output[BytesPending++] = JsonConstants.
Slash
;
106
output[BytesPending++] = JsonConstants.
Slash
;
134
output[BytesPending++] = JsonConstants.
Slash
;
147
output[BytesPending++] = JsonConstants.
Slash
;
206
output[BytesPending++] = JsonConstants.
Slash
;
213
output[BytesPending++] = JsonConstants.
Slash
;
241
output[BytesPending++] = JsonConstants.
Slash
;
248
output[BytesPending++] = JsonConstants.
Slash
;