[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-507.cs
blobab88846411c8340cd29f497fbd8991e5ce8fb170
1 class A
3 public static int Main ()
5 if (new B<object> () [4] != 2)
6 return 1;
8 return 0;
12 public class B<T> {
13 public int this[T key] {
14 get { return 1; }
17 public int this[object key] {
18 get { return 2; }