Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono-project.git] / mcs / errors / cs0266-9.cs
blob0e5338062ba86438c5fdf4f3798e4b42c9a238d1
1 // CS0266: Cannot implicitly convert type `E2' to `E1'. An explicit conversion exists (are you missing a cast?)
2 // Line : 8
4 enum E1 { A }
5 enum E2 { A }
7 class X {
8 const E1 e = ~E2.A;