public static Type[] GetGenericArguments(this Type type) { return type.GenericTypeArguments; //throw new NotImplementedException(); } #endif