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

test-190.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e44ea79c2a8c1adc36eb884c7ac365cacc814f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class A
{
	private int foo = 0;

	class B : A
	{
		void Test ()
		{
			foo = 3;
		}
	}

	class C
	{
		void Test (A a)
		{
			a.foo = 4;
		}
	}

	public static void Main ()
	{ }
}