1 write to HasJsonInclude
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2507HasJsonInclude = hasJsonInclude,
5 references to HasJsonInclude
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (3)
892HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 941=> !property.CanUseGetter && property.HasJsonInclude && property.DefaultIgnoreCondition is not JsonIgnoreCondition.Always; 961if (!property.CanUseSetter && property.HasJsonInclude)
Model\PropertyGenerationSpec.cs (2)
202if (!CanUseGetter && !HasJsonInclude) 208if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true)