2005-06-03 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / tests / gen-51.cs
index 3656eb1ddf0e53c2c86c03425eba7248dcad1ae7..5fc94f7c6e895fe9c375b0d5cfb4e1d07a116445 100644 (file)
@@ -1,10 +1,3 @@
-//
-// Accoring to the spec (26.7.1), this should compile since
-// there's an implicit reference conversion from B to A.
-//
-// However, csc reports a CS0309.
-//
-
 using System;
 
 public class Foo<T>
@@ -26,12 +19,8 @@ public class A
        }
 }
 
-public class B
+public class B : A
 {
-       public static implicit operator A (B b)
-       {
-               return new A ();
-       }
 }
 
 class X