3 references to IgnoreWhenNull
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (3)
849case SerializedValueCheckType.IgnoreWhenNull: 1062JsonIgnoreCondition.WhenWritingNull => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None, 1063JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,