Merge pull request #3894 from akoeplinger/fix-actor
[mono.git] / mcs / errors / cs0035.cs
index b4c98dcef236a3bf7e5772c7dd8dee29130a88a7..a633058f10b80127d80bc18e0789f3b8813dac82 100644 (file)
@@ -1,24 +1,24 @@
-// CS0035 : Operator `+' is ambiguous on operands of type `Y' and `X'\r
-// Line: 22\r
-\r
-class A\r
-{\r
-       public static implicit operator float(A x)\r
-       {\r
-               return 0;\r
-       }\r
-\r
-       public static implicit operator decimal(A x)\r
-       {\r
-               return 0;\r
-       }\r
-}\r
-\r
-class M\r
-{\r
-       static void Main()\r
-       {\r
-               A a = new A ();\r
-               int i = -a;  \r
-       }\r
-}
\ No newline at end of file
+// CS0035: Operator `-' is ambiguous on an operand of type `A'
+// Line: 22
+
+class A
+{
+       public static implicit operator float(A x)
+       {
+               return 0;
+       }
+
+       public static implicit operator decimal(A x)
+       {
+               return 0;
+       }
+}
+
+class M
+{
+       static void Main()
+       {
+               A a = new A ();
+               float f = -a;  
+       }
+}