Edit

Share via


Compiler Error C3150

'element' : 'attribute' can only be applied to a class, interface, array or pointer

__gc can only be used on a class, interface, or array.

C3150 is only reachable using the obsolete compiler option /clr:oldSyntax.