1 write to IsSetNullable
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
489propertyInfo.IsSetNullable = nullabilityInfo.WriteState is not NullabilityState.NotNull;
8 references to IsSetNullable
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
453if (propertyInfo.PropertyType != typeof(object) && (propertyInfo.IsGetNullable || propertyInfo.IsSetNullable))
System.Text.Json (7)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
143parentPolymorphicTypeIsNonNullable: propertyInfo is { IsGetNullable: false, IsSetNullable: false }, 364? propertyInfo.IsGetNullable || propertyInfo.IsSetNullable
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (2)
73/// This setting is in sync with the associated <see cref="JsonPropertyInfo.IsSetNullable"/> property. 75public bool IsNullable => MatchingProperty.IsSetNullable;
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (3)
296if (!IsSetNullable && Options.RespectNullableAnnotations) 319if (fastValue is null && !IsSetNullable && Options.RespectNullableAnnotations) 348if (value is null && !IsSetNullable && Options.RespectNullableAnnotations)