diff --git a/src/AutoMapper/Configuration/ConfigurationValidator.cs b/src/AutoMapper/Configuration/ConfigurationValidator.cs index 2f1148037e..6b4c616bce 100644 --- a/src/AutoMapper/Configuration/ConfigurationValidator.cs +++ b/src/AutoMapper/Configuration/ConfigurationValidator.cs @@ -94,7 +94,7 @@ private void DryRunTypeMap(ICollection typeMapsChecked, TypePair types, { if(typeMap == null) { - if (types.SourceType.ContainsGenericParameters || types.DestinationType.ContainsGenericParameters) + if (types.ContainsGenericParameters) { return; }