3 writes to NumberHandling
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
52typeInfo.NumberHandling = numberHandling;
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (2)
58typeInfo.NumberHandling = objectInfo.NumberHandling; 92typeInfo.NumberHandling = collectionInfo.NumberHandling;
6 references to NumberHandling
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.cs (1)
385if (ctx.TypeInfo.NumberHandling is not JsonNumberHandling.Strict && schema["type"] is JsonArray typeArray)
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
117JsonNumberHandling effectiveNumberHandling = customNumberHandling ?? typeInfo.NumberHandling ?? typeInfo.Options.NumberHandling;
System.Text.Json (4)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
90JsonNumberHandling effectiveNumberHandling = customNumberHandling ?? typeInfo.NumberHandling ?? typeInfo.Options.NumberHandling;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (3)
568JsonNumberHandling? declaringTypeNumberHandling = DeclaringTypeInfo.NumberHandling; 602JsonNumberHandling? handling = NumberHandling ?? DeclaringTypeInfo.NumberHandling ?? _jsonTypeInfo.NumberHandling;