15 references to Always
System.Text.Json.SourceGeneration (15)
JsonSourceGenerator.Emitter.cs (5)
641
property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
&&
732
=> !property.CanUseGetter && property.HasJsonInclude && property.DefaultIgnoreCondition is not JsonIgnoreCondition.
Always
;
740
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
768
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
813
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
JsonSourceGenerator.Parser.cs (9)
831
typeIgnoreCondition = JsonIgnoreCondition.
Always
;
839
if (typeIgnoreCondition == JsonIgnoreCondition.
Always
)
1189
if (other.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
1200
propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
||
1217
if (propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
1351
if (ignoreCondition is not JsonIgnoreCondition.
Always
)
1372
TypeRef propertyTypeRef = ignoreCondition != JsonIgnoreCondition.
Always
1485
ignoreCondition = JsonIgnoreCondition.
Always
;
1741
if (property.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
&& !property.IsRequired)
Model\PropertyGenerationSpec.cs (1)
195
if (DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)