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

test-566.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 679d5d822dff0ce5500843fb8221963acbd8ddcd (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
public class Test
{
	private C _vssItem;

	public string Spec
	{
		get { return _vssItem.Spec; }
	}
	
	void Foo (C c)
	{
		c.Checkout ();
	}
	
	void Foo2 (CC cc)
	{
		cc.Spec = "aa";
	}

	public static void Main ()
	{
	}
}

interface A
{
	void Checkout ();
	string Spec
	{
		get;
	}
}

interface B : A
{
	new void Checkout ();
	new string Spec
	{
		get;
	}
}

interface C : B
{
}

class CA
{
	public string Spec
	{
		set {}
	}
}

class CB : CA
{
	new public string Spec
	{
		set {}
	}
}

class CC : CB
{
}