From a1f997c1264c5a35c351fb644d3503e2d0da54d5 Mon Sep 17 00:00:00 2001 From: FreddyD Date: Fri, 21 Feb 2020 17:31:55 -0500 Subject: [PATCH] Remove unused code --- src/Shared/SharedTypeExtensions.cs | 8 -------- 1 file changed, 8 deletions(-) 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();