1 using System
.Collections
;
3 protected abstract int this [int a
] { get; }
5 public int EmulateIndexer (int a
)
12 protected override int this [int a
] { get { return a;}
}
52 if (bb
.EmulateIndexer (10) != 10)
56 // This tests that we properly set the return type for the setter
57 // use pattern in the following indexer (see bug 36156)
58 Hashtable a
= new Hashtable ();
59 int b
= (int) (a
[0] = 1);