10 instantiations of JsonNumberHandlingAttribute
Microsoft.Extensions.AI.Abstractions.Tests (5)
test\Shared\JsonSchemaExporter\TestTypes.cs (5)
911[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] 919[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] 922[JsonNumberHandling(JsonNumberHandling.AllowNamedFloatingPointLiterals)] 925[JsonNumberHandling(JsonNumberHandling.WriteAsString)] 928[JsonNumberHandling(JsonNumberHandling.AllowNamedFloatingPointLiterals)]
Shared.Tests (5)
JsonSchemaExporter\TestTypes.cs (5)
911[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] 919[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] 922[JsonNumberHandling(JsonNumberHandling.AllowNamedFloatingPointLiterals)] 925[JsonNumberHandling(JsonNumberHandling.WriteAsString)] 928[JsonNumberHandling(JsonNumberHandling.AllowNamedFloatingPointLiterals)]
7 references to JsonNumberHandlingAttribute
System.Text.Json (7)
System\Text\Json\Serialization\Attributes\JsonNumberHandlingAttribute.cs (1)
19/// Initializes a new instance of <see cref="JsonNumberHandlingAttribute"/>.
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (4)
260JsonNumberHandlingAttribute? numberHandlingAttribute = type.GetUniqueCustomAttribute<JsonNumberHandlingAttribute>(inherit: false); 369JsonNumberHandlingAttribute? numberHandlingAttr = memberInfo.GetCustomAttribute<JsonNumberHandlingAttribute>(inherit: false);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
1042/// the value of this property will be mapped from <see cref="JsonNumberHandlingAttribute"/> annotations.
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
498/// the value of this callback will be mapped from any <see cref="JsonNumberHandlingAttribute"/> annotations.