4 references to ThrowArgumentException_CannotSerializeInvalidType
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (2)
64
ThrowHelper.
ThrowArgumentException_CannotSerializeInvalidType
(nameof(type), type, null, null);
92
ThrowHelper.
ThrowArgumentException_CannotSerializeInvalidType
(nameof(type), type, null, null);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
952
ThrowHelper.
ThrowArgumentException_CannotSerializeInvalidType
(nameof(type), type, null, null);
1008
ThrowHelper.
ThrowArgumentException_CannotSerializeInvalidType
(nameof(propertyType), propertyType, Type, name);