8 references to GetUniqueCustomAttribute
System.Text.Json (8)
System\Text\Json\Serialization\Converters\FSharp\FSharpUnionConverter.cs (1)
47
_effectiveUnmappedMemberHandling = typeof(T).
GetUniqueCustomAttribute
<JsonUnmappedMemberHandlingAttribute>(inherit: false)?.UnmappedMemberHandling
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Converters.cs (2)
138
JsonConverterAttribute? converterAttribute = memberInfo.
GetUniqueCustomAttribute
<JsonConverterAttribute>(inherit: false);
152
JsonConverterAttribute? converterAttribute = typeToConvert.
GetUniqueCustomAttribute
<JsonConverterAttribute>(inherit: false);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (5)
107
JsonNamingPolicy? typeNamingPolicy = typeInfo.Type.
GetUniqueCustomAttribute
<JsonNamingPolicyAttribute>(inherit: false)?.NamingPolicy;
110
JsonIgnoreCondition? typeIgnoreCondition = typeInfo.Type.
GetUniqueCustomAttribute
<JsonIgnoreAttribute>(inherit: false)?.Condition;
293
JsonNumberHandlingAttribute? numberHandlingAttribute = type.
GetUniqueCustomAttribute
<JsonNumberHandlingAttribute>(inherit: false);
299
JsonObjectCreationHandlingAttribute? creationHandlingAttribute = type.
GetUniqueCustomAttribute
<JsonObjectCreationHandlingAttribute>(inherit: false);
305
JsonUnmappedMemberHandlingAttribute? numberHandlingAttribute = type.
GetUniqueCustomAttribute
<JsonUnmappedMemberHandlingAttribute>(inherit: false);