16 references to Always
System.Text.Json.SourceGeneration (16)
JsonSourceGenerator.Emitter.cs (5)
853
property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
&&
944
=> !property.CanUseGetter && property.HasJsonInclude && property.DefaultIgnoreCondition is not JsonIgnoreCondition.
Always
;
952
if (property.IsReadOnly || property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
987
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
1037
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
JsonSourceGenerator.Parser.cs (10)
1026
typeIgnoreCondition = JsonIgnoreCondition.
Always
;
1034
if (typeIgnoreCondition == JsonIgnoreCondition.
Always
)
2326
if (other.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
2337
propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
||
2354
if (propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
2487
if (ignoreCondition is not JsonIgnoreCondition.
Always
)
2508
TypeRef propertyTypeRef = ignoreCondition != JsonIgnoreCondition.
Always
2512
if (ignoreCondition != JsonIgnoreCondition.
Always
)
2647
ignoreCondition = JsonIgnoreCondition.
Always
;
2905
if (property.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
&& !property.IsRequired)
Model\PropertyGenerationSpec.cs (1)
204
if (DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)