A delegate cannot be 'identifier' and 'identifier'
The compiler detected a delegate declaration, within a class, attempted to use a combination of access modifiers that are not allowed. This error usually occurs when a delegate is declared with two access modifiers applied. Remove the additional access modifier applied to the specified delegate declaration and compile again.
The following example illustrates this error:
public class Simple{
public private delegate void SimpleDelegate();
//error: cannot declare a delegate to be 'public' and 'private'
}