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