'Shared' cannot be combined with '<specifier>' on a method declaration

You have attempted to combine the Shared modifier with a specifier, such as Overridable, NotOverridable, or MustOverride, that is not valid in such a combination on a method declaration.

Error ID: BC30501

To correct this error

  • Remove the specifier.

See Also

Reference

Shared (Visual Basic)

Overridable

NotOverridable

MustOverride