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.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
980
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
1025
if (property.DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)
JsonSourceGenerator.Parser.cs (10)
1047
typeIgnoreCondition = JsonIgnoreCondition.
Always
;
1055
if (typeIgnoreCondition == JsonIgnoreCondition.
Always
)
2343
if (other.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
2354
propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
||
2371
if (propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
2503
if (ignoreCondition is not JsonIgnoreCondition.
Always
)
2524
TypeRef propertyTypeRef = ignoreCondition != JsonIgnoreCondition.
Always
2528
if (ignoreCondition != JsonIgnoreCondition.
Always
)
2658
ignoreCondition = JsonIgnoreCondition.
Always
;
2914
if (property.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
&& !property.IsRequired)
Model\PropertyGenerationSpec.cs (1)
195
if (DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)