2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0554.cs
blob6304aa41caeaeb89daa987d0766f21890562cb38
1 // CS0554: User-defined conversion `BaseClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from a derived class
2 // Line: 5
4 class BaseClass {
5 public static implicit operator BaseClass(DerivedClass value) {
6 return new BaseClass();
10 class DerivedClass: BaseClass {