public static bool IsGenericType(this INamedTypeSymbol symbolOpt) { return(symbolOpt != null && symbolOpt.IsGenericType && TypeProcessor.TypeArguments(symbolOpt).Any()); }