62 references to SkipValidation
System.Text.Json (62)
System\Text\Json\Writer\Utf8JsonWriter.cs (7)
606
Debug.Assert(_options.Indented || !_options.
SkipValidation
);
610
if (!_options.
SkipValidation
)
619
Debug.Assert(!_options.
SkipValidation
);
1040
Debug.Assert(_options.Indented || !_options.
SkipValidation
);
1044
if (!_options.
SkipValidation
)
1052
Debug.Assert(!_options.
SkipValidation
);
1106
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.None);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
302
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
352
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
304
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
352
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
303
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
351
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
297
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
342
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
301
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
346
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
301
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
346
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
305
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
354
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (4)
38
if (!_options.
SkipValidation
)
51
if (!_options.
SkipValidation
)
125
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
198
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (2)
445
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
490
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
370
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
415
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (5)
395
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
1522
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
1571
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
1623
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
1674
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
379
Debug.Assert(_options.
SkipValidation
|| _tokenType != JsonTokenType.PropertyName);
424
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.Comment.cs (1)
61
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)
54
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
)
63
/// The <see cref="JsonWriterOptions.
SkipValidation
"/> value for the writer instance is honored when using this method.
69
if (!_options.
SkipValidation
)
94
/// The <see cref="JsonWriterOptions.
SkipValidation
"/> value for the writer instance is honored when using this method.
100
if (!_options.
SkipValidation
)
130
/// The <see cref="JsonWriterOptions.
SkipValidation
"/> value for the writer instance is honored when using this method.
136
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.StringSegment.cs (3)
31
if (!_options.
SkipValidation
)
199
if (!_options.
SkipValidation
)
366
if (!_options.
SkipValidation
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
39
if (!_options.
SkipValidation
)