From 5d548645ac92c799195f99cc6ca6afa2416772a5 Mon Sep 17 00:00:00 2001 From: Lucian Bargaoanu Date: Fri, 27 May 2016 18:02:33 +0300 Subject: [PATCH] cosmetic --- src/AutoMapper/Configuration/PrimitiveExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoMapper/Configuration/PrimitiveExtensions.cs b/src/AutoMapper/Configuration/PrimitiveExtensions.cs index 5e1223c2ce..64c52cdcd7 100644 --- a/src/AutoMapper/Configuration/PrimitiveExtensions.cs +++ b/src/AutoMapper/Configuration/PrimitiveExtensions.cs @@ -86,9 +86,9 @@ public static bool ImplementsGenericInterface(this Type type, Type interfaceType return false; } - public static bool IsGenericType(this Type type, Type interfaceType) + public static bool IsGenericType(this Type type, Type genericType) { - return type.IsGenericType() && type.GetGenericTypeDefinition() == interfaceType; + return type.IsGenericType() && type.GetGenericTypeDefinition() == genericType; } public static Type GetDictionaryType(this Type type)