58 references to SkipValidation
System.Text.Json (58)
System\Text\Json\Writer\Utf8JsonWriter.cs (7)
515Debug.Assert(_options.Indented || !_options.SkipValidation); 519if (!_options.SkipValidation) 528Debug.Assert(!_options.SkipValidation); 942Debug.Assert(_options.Indented || !_options.SkipValidation); 946if (!_options.SkipValidation) 954Debug.Assert(!_options.SkipValidation); 1006Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.None);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
305Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 355Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
307Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 355Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
306Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 354Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
300Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 345Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
304Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 349Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
304Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 349Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
308Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 357Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (4)
37if (!_options.SkipValidation) 50if (!_options.SkipValidation) 111Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 184Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (2)
451Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 496Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
376Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 421Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (5)
398Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1537Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1586Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1638Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 1689Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
385Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName); 430Debug.Assert(_options.SkipValidation || _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (1)
34if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (1)
24if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (1)
25if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (1)
24if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
28if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
28if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (1)
29if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (1)
24if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (1)
15Debug.Assert(!_options.SkipValidation);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
49if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (8)
30/// The <see cref="JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method. 36if (!_options.SkipValidation) 66/// The <see cref="JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method. 72if (!_options.SkipValidation) 97/// The <see cref="JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method. 103if (!_options.SkipValidation) 133/// The <see cref="JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method. 139if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.SignedNumber.cs (1)
37if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (2)
100if (!_options.SkipValidation) 247if (!_options.SkipValidation)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
39if (!_options.SkipValidation)