2 using System.Runtime.CompilerServices;
7 int this[int i] { get; }
12 public int this[int i] { get { return 42; } }
18 public abstract int this[int i] { get; }
23 public override int this[int i] { get { return 42; } }
28 public static int Main ()
30 if (typeof (Foo).GetProperty ("Bar") != null)
33 if (typeof (Babar).GetProperty ("Baz") == null)