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