10 references to Always
System.Text.Json (10)
System\Text\Json\Serialization\Attributes\JsonIgnoreAttribute.cs (2)
15
/// <remarks>The default value is <see cref="JsonIgnoreCondition.
Always
"/>.</remarks>
16
public JsonIgnoreCondition Condition { get; set; } = JsonIgnoreCondition.
Always
;
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
418
/// Thrown if this property is set to <see cref="JsonIgnoreCondition.
Always
"/>.
434
if (value == JsonIgnoreCondition.
Always
)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (3)
235
if (ignoreCondition == JsonIgnoreCondition.
Always
)
247
catch (InvalidOperationException) when (ignoreCondition == JsonIgnoreCondition.
Always
)
355
if (ignoreCondition != JsonIgnoreCondition.
Always
)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
187
if (propertyInfo.IgnoreCondition != JsonIgnoreCondition.
Always
)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
1008
internal bool IsIgnored => _ignoreCondition is JsonIgnoreCondition.
Always
&& Get is null && Set is null;
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
411
case JsonIgnoreCondition.
Always
: