1 write to HasJsonInclude
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1225HasJsonInclude = hasJsonInclude,
5 references to HasJsonInclude
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (3)
621{ CanUseGetter: false, HasJsonInclude: true } 635{ CanUseSetter: false, HasJsonInclude: true } 671HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}},
JsonSourceGenerator.Parser.cs (1)
1017if (propertySpec.HasJsonInclude && (!propertySpec.CanUseGetter || !propertySpec.IsPublic))
Model\PropertyGenerationSpec.cs (1)
173if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true)