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

test-589.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ccf81c7c6f92c6cbece5fcfe5fb3b5cd137cefc5 (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
using System;
using TestNamespace;

namespace TestNamespace
{
	public class TestClass
	{
		public static void HelloWorld ()
		{
		}
	}
}

class SuperClass
{
	TestClass tc = null;

	public TestClass TestClass
	{
		private get { return tc; }
		set {}
	}
}

class SubClass : SuperClass
{
	public SubClass ()
	{
		TestClass.HelloWorld ();
	}
}

class App
{
	public static void Main ()
	{
		SubClass sc = new SubClass ();
	}
}