37 references to Slash
System.Text.Json (37)
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (2)
515
case JsonConstants.
Slash
:
516
destination[written++] = JsonConstants.
Slash
;
System\Text\Json\Reader\Utf8JsonReader.cs (15)
849
if (first == JsonConstants.
Slash
)
1045
Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.
Slash
) || !_trailingCommaBeforeComment);
1083
if (marker == JsonConstants.
Slash
)
1090
if (marker == JsonConstants.
Slash
)
1729
if (marker == JsonConstants.
Slash
)
1786
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && first == JsonConstants.
Slash
)
1882
Debug.Assert(first != JsonConstants.
Slash
);
1923
if (first == JsonConstants.
Slash
)
2085
while (marker == JsonConstants.
Slash
)
2120
while (marker == JsonConstants.
Slash
)
2322
if (marker == JsonConstants.
Slash
)
2332
ThrowHelper.ThrowJsonReaderException(ref this, ExceptionResource.ExpectedStartOfValueNotFound, JsonConstants.
Slash
);
2338
ThrowHelper.ThrowJsonReaderException(ref this, ExceptionResource.ExpectedStartOfValueNotFound, JsonConstants.
Slash
);
2452
int foundIdx = localBuffer.Slice(idx).IndexOf(JsonConstants.
Slash
);
2499
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
)
1561
if (marker == JsonConstants.
Slash
)
1627
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && first == JsonConstants.
Slash
)
1723
Debug.Assert(first != JsonConstants.
Slash
);
1773
if (first == JsonConstants.
Slash
)
1937
while (marker == JsonConstants.
Slash
)
1972
while (marker == JsonConstants.
Slash
)
2260
if (marker != JsonConstants.
Slash
&& marker != JsonConstants.Asterisk)
2518
if (localBuffer[0] == JsonConstants.
Slash
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (8)
89
output[BytesPending++] = JsonConstants.
Slash
;
102
output[BytesPending++] = JsonConstants.
Slash
;
130
output[BytesPending++] = JsonConstants.
Slash
;
143
output[BytesPending++] = JsonConstants.
Slash
;
202
output[BytesPending++] = JsonConstants.
Slash
;
209
output[BytesPending++] = JsonConstants.
Slash
;
237
output[BytesPending++] = JsonConstants.
Slash
;
244
output[BytesPending++] = JsonConstants.
Slash
;