[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git] / mcs / errors / cs0266.cs
blob685e6d8138b1460193ec4d8d8de10128253e35cb
1 // CS0266: Cannot implicitly convert type `Foo.MyEnumType' to `uint'. An explicit conversion exists (are you missing a cast?)
2 // Line: 11
4 public class Foo {
5 enum MyEnumType { MyValue }
7 public void Bar ()
9 uint my_uint_var = 0;
10 switch (my_uint_var) {
11 case MyEnumType.MyValue:
12 break;
13 default:
14 break;
18 static void Main () {}