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

test-753.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 72d7a4764c88183089287e3dde6be36905adc1a8 (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
interface IA
{
	string val { get; set; }
}

interface IAI : IA
{
	new int val { get; set; }
}

interface IAI2 : IAI { }

class AI2 : IAI2
{
	public int val { get { return 42; } set { } }
	string IA.val { get { return "13"; } set { } }

	public void stuff (IAI2 other)
	{
		val = other.val;
	}

	public static void Main ()
	{
	}
}