2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0553.cs
blob331779d7ea05446489b7678ddf696eb0d0c3b0e8
1 // CS0553: User-defined conversion `DerivedClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from a base class
2 // Line: 8
4 class BaseClass {
7 class DerivedClass: BaseClass {
8 public static implicit operator BaseClass(DerivedClass value) {
9 return new BaseClass();