Compiler Error J0271

Expected 'delegate'

The compiler detected the multicast modifier but did not detect the delegate keyword. The multicast modifier can only be used in conjunction with the delegate keyword to create multicast delegates. Ensure that you have the delegate keyword in the declaration specified by the error message and compile again.

The following example illustrates this error:

public multicast void SimpleDelegate(String x, int y);
//error: the 'delegate' keyword is missing after the 'multicast' modifier
public class Simple{
   //Do something here
}