2 references to IgnoreWhenDefault
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Emitter.cs (2)
860case SerializedValueCheckType.IgnoreWhenDefault: 1063JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,