10 references to Always
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (2)
619
{ DefaultIgnoreCondition: JsonIgnoreCondition.
Always
} => "null",
628
{ DefaultIgnoreCondition: JsonIgnoreCondition.
Always
} => "null",
JsonSourceGenerator.Parser.cs (7)
1066
if (other.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
1077
propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
||
1094
if (propertySpec.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
)
1189
if (ignoreCondition is not JsonIgnoreCondition.
Always
)
1201
TypeRef propertyTypeRef = ignoreCondition != JsonIgnoreCondition.
Always
1283
ignoreCondition = JsonIgnoreCondition.
Always
;
1523
if (property.DefaultIgnoreCondition == JsonIgnoreCondition.
Always
&& !property.IsRequired)
Model\PropertyGenerationSpec.cs (1)
161
if (DefaultIgnoreCondition is JsonIgnoreCondition.
Always
)