Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / tests / dtest-021.cs
blob284c68ddcb87738d59fe1aa9fe2894d5a8821d98
1 public class T
3 class B
5 public dynamic this [int i] {
6 set {
7 int v = (dynamic) value;
9 get {
10 return i;
15 public class Program
17 public static int Main ()
19 B b = new B ();
20 b [4] = 1;
21 dynamic d = b [9];
22 return 0;