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

test-90.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eae64a7dd232a70b0abce9e4f68a39a95be9adc8 (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
//
// This test just makes sure that we can compile C.A, there used to be
// a bug in the compiler that was doing the lookups in the wrong namespace
//
// 
namespace N1
{	
	public enum A
	{
		A_1, A_2, A_3
	}

	public interface B
	{
		N1.A myProp 
		{
			get;
			set;   // <-- This always worked.
		}
	}

	public interface C
	{
		A myProp
		{
			get;
			set;  // <-- This used to fail.
		}
	}

	public class Blah {
		public static int Main  ()
		{
			return 0;
		}
	}
}