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

test-766.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7adfa390f1b40628708bba632cd16a75db4f1dbd (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
namespace A
{
	using Base = B.Color;

	class Color
	{
		protected Base Base
		{
			get { return Base.Blue; }
		}

		protected Base NewBase {
			get {
				return Base.From(1);
			}
		}

		public static void Main ()
		{
		}
	}
}

namespace B
{
	public struct Color
	{
		public static Color Blue = new Color ();
		
		public static Color From (int i)
		{
			return new Color ();
		}
	}
}