Operators must be declared 'Shared'
An Operator Statement does not include the Shared (Visual Basic) keyword.
An Operator procedure requires both the Public (Visual Basic) and Shared keywords, and a conversion operator also requires either the Widening or the Narrowing keyword.
Error ID: BC33012
To correct this error
- Add the Shared keyword to the Operator statement.
See Also
Tasks
How to: Define a Conversion Operator