* Control.cs: fix the checks so that they work correctly for mdi
[mcs.git] / errors / cs0266-9.cs
blob78376ea7b8070a6164859c09272ded006aece594
1 // CS0266: Cannot implicitly convert type 'E2' to 'E1'. An explicit conversion exists (are you missing a cast?)
2 // Line : 6
4 enum E1 { A }
5 enum E2 { A }
7 class X {
8 const E1 e = ~E2.A;