Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

45 lines
417 B
C#

using System;
namespace N
{
class Item
{
public Item ()
{
}
public enum ItemSlot
{
ItemM1,
ItemM2
}
}
}
namespace N
{
public class Test
{
Item this [Test slot]
{
get { return null; }
}
void Foo (Item.ItemSlot i)
{
object oo = this [null];
switch (i)
{
case Item.ItemSlot.ItemM1:
break;
}
}
public static int Main ()
{
return 0;
}
}
}