'attribute class': cannot resolve attribute overload
A constructor for an attribute class is not available for an attribute invocation.
The following sample generates C3725:
#using <mscorlib.dll> using namespace System; [attribute(All)] __gc class MyAttr { public: MyAttr() { } MyAttr(int) { } }; [MyAttr(1, 1)] // try the following line instead // [MyAttr(1)] class AtClass { }; void main() { }