Show/Hide Toolbars

XSharp

Operator 'operator' is ambiguous on operands of type 'type1' and 'type2'

 

An operator was used on two objects and the compiler found more than one conversion. Because conversions have to be unique, you either have to make a cast or to make one of the conversions explicit. For more information, see Conversion Operators.

 

The following sample generates XS0034: