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)
952ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(type), type, null, null); 1008ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(propertyType), propertyType, Type, name);