4 references to ThrowArgumentException_CannotSerializeInvalidType
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (2)
61ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(type), type, null, null); 86ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(type), type, null, null);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
942ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(type), type, null, null); 991ThrowHelper.ThrowArgumentException_CannotSerializeInvalidType(nameof(propertyType), propertyType, Type, name);