A directive or keyword that is only valid inside a class definition exists outside a class definition.
To correct this error
-
Remove the term.
-
Make sure the code is inside a class definition.
A directive or keyword that is only valid inside a class definition exists outside a class definition.
Remove the term.
Make sure the code is inside a class definition.