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