COBCH0820 Class <class-name> not found or is not a delegate class

A delegate type is expected, and cannot be found.

This can occur when the delegate-invocation-expression cannot be resolved to an object of delegate type, or when the EVENT keyword is specified for a field not of delegate type.

delegate-id MessageHandler (str as string)
end delegate.
class-id DelegatesEvents.
01 MessageSnooze string EVENT STATIC.                *> this causes the error
01 MessageArrived EVENT type MessageHandler STATIC.  *> this does not
...