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

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

abstract class B : IA
{
    public long Prop => 4;

	int IA.Prop => 1;

	public long this [int arg] => 2;

	int IA.this [int arg] => 4;
}

class C : B, IA
{
	public static void Main ()
	{
	}

	public new string Prop {
		get { return ""; }
	}

	public new string this [int arg] => "2";
}