Invalid token 'token' in class, struct, or interface member declaration
Any class member that does not begin with a class-member type token will generate CS1519.
The following sample generates CS1519:
public class IMyInterface { checked void f4(); // CS1519 lock void f5(); // CS1519 namespace; // CS1519 int i; // OK }