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

test-347.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 178ac20af956ed376ace03ef5647bd030d2db335 (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
namespace Whatever.Core {
	public class Project {
	}

	public class A {
		public Project Project {
			get { return new Project(); }
		}
	}
}

namespace SomethingElse.Core {
	public class Project {
	}
}

namespace Whatever.App {
	using Whatever.Core;
	using SomethingElse.Core;

	public class B : A {
		public string Execute() {
			return Project.ToString();
		}

		public static void Main ()
		{
			new B().Execute ();
		}
	}
}