Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0266-4.cs
blob8ea5ff0cae48658cd85be23cc0d1c277d23523ad
1 // CS0266: Cannot implicitly convert type `Bar' to `X'. An explicit conversion exists (are you missing a cast?)
2 // Line: 18
4 public enum Bar
6 ABar
9 class X
11 public static explicit operator X (Bar the_bar)
13 return new X();
16 public static void Main ()
18 X x = Bar.ABar;