* Control.cs: fix the checks so that they work correctly for mdi
[mcs.git] / errors / cs0554.cs
blobe46270ea42e7fca6c83f65e108f4950146ef6360
1 // cs0554.cs: User-defined conversion `BaseClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from derived class
2 // Line: 5
4 class BaseClass {
5 public static implicit operator BaseClass(DerivedClass value) {
6 return new BaseClass();
10 class DerivedClass: BaseClass {