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