8 references to Number
System.Text.Json (8)
System\Text\Json\Schema\JsonSchema.cs (2)
295
JsonSchemaType.
Number
,
342
JsonSchemaType.
Number
=> "number",
System\Text\Json\Serialization\Converters\Value\DecimalConverter.cs (1)
61
GetSchemaForNumericType(JsonSchemaType.
Number
, numberHandling);
System\Text\Json\Serialization\Converters\Value\DoubleConverter.cs (1)
72
GetSchemaForNumericType(JsonSchemaType.
Number
, numberHandling, isIeeeFloatingPoint: true);
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (1)
136
GetSchemaForNumericType(JsonSchemaType.
Number
, numberHandling, isIeeeFloatingPoint: true);
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (2)
38
Debug.Assert(schemaType is JsonSchemaType.Integer or JsonSchemaType.
Number
);
39
Debug.Assert(!isIeeeFloatingPoint || schemaType is JsonSchemaType.
Number
);
System\Text\Json\Serialization\Converters\Value\SingleConverter.cs (1)
73
GetSchemaForNumericType(JsonSchemaType.
Number
, numberHandling, isIeeeFloatingPoint: true);