1 // Compiler options: -warn:4 -warnaserror
3 // Checks no CS0219 warning is issued
7 int Prop { get { return 4; } }
9 int this[char arg] { get { return 2; } }
11 static void Foo (ref int arg)
15 public void Method (int i)
18 long p2 = new C ()['h'];
24 public static void Main ()