2 writes to NumberHandling
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\JsonConverterHelper.cs (1)
47NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals,
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
28NumberHandling = JsonNumberHandling.Strict,
10 references to NumberHandling
System.Text.Json (10)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
94/// Specifies the default value of <see cref="JsonSerializerOptions.NumberHandling"/> when set.
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
54converter.WriteNumberWithCustomHandling(writer, Value, options.NumberHandling);
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
90JsonNumberHandling effectiveNumberHandling = customNumberHandling ?? typeInfo.NumberHandling ?? typeInfo.Options.NumberHandling;
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
65!JsonHelpers.RequiresSpecialNumberHandlingOnWrite(options.NumberHandling) &&
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (4)
584if (!EffectiveNumberHandling.HasValue && Options.NumberHandling != JsonNumberHandling.Strict) 586EffectiveNumberHandling = Options.NumberHandling; 605if (!handling.HasValue && Options.NumberHandling != JsonNumberHandling.Strict) 607handling = Options.NumberHandling;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
486/// Gets or sets the type-level <see cref="JsonSerializerOptions.NumberHandling"/> override. 514internal JsonNumberHandling EffectiveNumberHandling => _numberHandling ?? Options.NumberHandling;