Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
lbargaoanu committed May 27, 2016
1 parent f585dc5 commit 5d54864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoMapper/Configuration/PrimitiveExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d54864

Please sign in to comment.