[loader] LoadFrom of problematic images should reprobe
[mono-project.git] / mcs / errors / cs0035-2.cs
blob12d91ef9f644c93f396f5f0c38f3de47572067e6
1 // CS0035: Operator `++' is ambiguous on an operand of type `MyType'
2 // Line: 31
4 public class MyType
6 public static implicit operator float (MyType v)
8 return 0;
11 public static implicit operator decimal (MyType v)
13 return 0;
16 public static implicit operator MyType (float v)
18 return null;
21 public static implicit operator MyType (decimal v)
23 return null;
27 class Test
29 static void test (MyType x)
31 x++;