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