2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / tests / test-676.cs
blobcd3d4b196c3ecf55ca5e15d23baac8a85624ff0d
1 using System;
3 namespace N
5 class Item
7 public Item ()
11 public enum ItemSlot
13 ItemM1,
14 ItemM2
19 namespace N
21 public class Test
23 Item this [Test slot]
25 get { return null; }
28 void Foo (Item.ItemSlot i)
30 object oo = this [null];
32 switch (i)
34 case Item.ItemSlot.ItemM1:
35 break;
39 public static int Main ()
41 return 0;