diff --git a/src/Shared/SharedTypeExtensions.cs b/src/Shared/SharedTypeExtensions.cs index 209b890..577995b 100644 --- a/src/Shared/SharedTypeExtensions.cs +++ b/src/Shared/SharedTypeExtensions.cs @@ -59,14 +59,6 @@ namespace System && !type.IsInterface && (!type.IsGenericType || !type.IsGenericTypeDefinition); - public static bool IsGrouping(this Type type) => IsGrouping(type.GetTypeInfo()); - - // TODO: Is this method ever actually called? - private static bool IsGrouping(TypeInfo type) - => type.IsGenericType - && (type.GetGenericTypeDefinition() == typeof(IGrouping<,>) - || type.GetGenericTypeDefinition() == typeof(IAsyncGrouping<,>)); - public static Type UnwrapEnumType(this Type type) { var isNullable = type.IsNullableType();