'element' : 'attribute' can only be applied to a class
Certain attributes can only be applied to a C++ class.
The following sample generates C3152:
#using <mscorlib.dll> __value __interface A { // C3152; }; __value class X { int f(); }; void main(){ }