2 references to TypeIsSupportedPrimitive
System.Text.Json (2)
System\Text\Json\Nodes\JsonValue.cs (1)
169if (JsonValue<T>.TypeIsSupportedPrimitive &&
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
20Debug.Assert(TypeIsSupportedPrimitive, $"The type {typeof(TValue)} is not a supported primitive.");