Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-755.cs
1 class Item
2 {
3         public static int Foo = 42;
4
5         public class Builder
6         {
7                 public int Foo
8                 {
9                         get { return Item.Foo; }
10                 }
11
12                 public object this[int field]
13                 {
14                         get { return null; }
15                 }
16
17                 public object this[int field, int i]
18                 {
19                         get { return null; }
20                 }
21         }
22 }
23
24 class Program
25 {
26         public static void Main ()
27         {
28         }
29 }