2 using System.Runtime.CompilerServices;
21 public int this [int a] {
28 public long this [double a] {
37 [IndexerName ("Whatever")]
38 new public long this [double a] {
44 public int InstanceTest ()
48 Console.WriteLine ("INSTANCE TEST");
50 if (this [index] != 4)
52 if (base [index] != 3)
58 public static int Test ()
64 Console.WriteLine (z [1]);
65 Console.WriteLine (y [2]);
66 Console.WriteLine (x [3]);
77 Console.WriteLine (z [index]);
78 Console.WriteLine (y [index]);
85 return z.InstanceTest ();
88 public static int Main ()
92 Console.WriteLine ("RESULT: " + result);