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