for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0035.cs
bloba633058f10b80127d80bc18e0789f3b8813dac82
1 // CS0035: Operator `-' is ambiguous on an operand of type `A'
2 // Line: 22
4 class A
6 public static implicit operator float(A x)
8 return 0;
11 public static implicit operator decimal(A x)
13 return 0;
17 class M
19 static void Main()
21 A a = new A ();
22 float f = -a;