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