Expected '{' or ';'
The compiler detected an error with a method declaration in a class or interface. This error usually occurs if an interface's method declaration is missing a semicolon at the end of the declaration or a class's declaration is missing its opening brace '{'. Check the specified class or interface method declaration and for a missing semicolon or opening brace and compile again.
The following example illustrates this error:
interface ISimple{
public void method1()
//error: missing semicolon to end declaration
}
public class Simple{
public void method1()
//error: missing opening brace
}