'generic_class' : ジェネリック クラスをカスタム属性にすることはできません
ジェネリック クラスは、ユーザー定義の属性にすることはできません。
例
次の例では C3237 が生成されます。
// C3237.cpp
// compile with: /clr /c
// C3237 expected
using namespace System;
generic <class T>
// Delete the following line to resolve.
[attribute(AttributeTargets::All, AllowMultiple=true)]
public ref class GR {};