The code applies an attribute to a declaration that cannot accept an attribute.
To correct this error
-
Make sure that the attribute is not applied to this type of declaration.
The code applies an attribute to a declaration that cannot accept an attribute.
Make sure that the attribute is not applied to this type of declaration.