Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / test-440.cs
blobd8fe33765c3b22d2072a065abf3c301d5073780a
1 public class A {
2 public static implicit operator double (A a)
4 return 0.5;
7 // unlike CS0034 case, two or more implicit conversion on other
8 // than string is still valid.
9 public static implicit operator int (A a)
11 return 0;
14 public static void Main ()
16 A a = new A ();
17 object p = a + a;