Edit

Share via


Operators cannot be declared '<keyword>'

An operator is declared with a keyword that is not valid for operator definitions.

Every operator must be declared as both Public and Shared. In addition, a conversion operator must be declared with either Widening or Narrowing, but not both. An operator definition can optionally include the Overloads or Shadows keywords. No other keywords are permitted in an Operator Statement.

Error ID: BC33013

To correct this error

  • Remove the invalid keyword from the operator definition.

See also