Conversion operators must be declared either 'Widening' or 'Narrowing'
An Operator Statement does not specify either Widening or Narrowing.
When you define a conversion operator, you must declare it as either Widening or Narrowing. These are mutually exclusive characteristics, so you cannot specify both.
Error ID: BC33017
To correct this error
- Decide whether the conversion operator is to be Widening or Narrowing, and include the appropriate keyword in the Operator statement. You must specify one or the other.
See Also
Tasks
How to: Define a Conversion Operator
Concepts
Widening and Narrowing Conversions