Declare statements in a Module cannot be declared '<specifier>'

A Declare declaration has a specifier that is not valid within a Module declaration. Modules can never be instantiated, do not support inheritance, and cannot implement interfaces.

Error ID: BC30786

To correct this error

  • Remove the specifier.

See Also

Reference

Delegate Statement

Module Statement