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