Specifiers are not valid on 'AddHandler', 'RemoveHandler' and 'RaiseEvent' methods
The AddHandler, RemoveHandler, and RaiseEvent method declarations cannot be modified with keywords such as Public or ReadOnly. Only modifiable declarations can contain such keywords.
Error ID: BC31135
To correct this error
- Remove the keyword from the method declaration.