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

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

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

class SuperClass
{
	TestClass tc = null;

	TestClass TestClass
	{
		get { return tc; }
	}
}

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

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