Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-774.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e8e88854b4043b4a947e9d001f6236c9221d8ab6 (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
interface I
{
	int this[int i] { get; set; }
}

class C : I
{
	int I.this[int i]
	{
		get { return i; }
		set { }
	}

	public int this[int i]
	{
		get { return i; }
		private set { }
	}

	public static void Main ()
	{
	}
}