Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-90.cs
1 //
2 // This test just makes sure that we can compile C.A, there used to be
3 // a bug in the compiler that was doing the lookups in the wrong namespace
4 //
5 // 
6 namespace N1
7 {       
8         public enum A
9         {
10                 A_1, A_2, A_3
11         }
12
13         public interface B
14         {
15                 N1.A myProp 
16                 {
17                         get;
18                         set;   // <-- This always worked.
19                 }
20         }
21
22         public interface C
23         {
24                 A myProp
25                 {
26                         get;
27                         set;  // <-- This used to fail.
28                 }
29         }
30
31         public class Blah {
32                 public static int Main  ()
33                 {
34                         return 0;
35                 }
36         }
37 }