'<name>' cannot expose type '<type1>' used in the underlying delegate type '<delegatetype>' of the event it is implementing outside the project through <specifier> '<type2>'
The code exposes a private type outside the public class.
Error ID: BC30924
To correct this error
Declare the type Public or use another type.