public static bool IsGenericIQueryable([CanBeNull] this IType type) { return(TypesUtil.IsPredefinedTypeFromAssembly(type, PredefinedType.GENERIC_IQUERYABLE_FQN, assembly => assembly.IsMscorlib)); }