summaryrefslogtreecommitdiff
path: root/mcs/tests/test-755.cs
blob: 038e92fbbf5a8b4e5172de8f63fc003277a05e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class Item
{
	public static int Foo = 42;

	public class Builder
	{
		public int Foo
		{
			get { return Item.Foo; }
		}

		public object this[int field]
		{
			get { return null; }
		}

		public object this[int field, int i]
		{
			get { return null; }
		}
	}
}

class Program
{
	public static void Main ()
	{
	}
}