blob: 8d7c147ec3fd351599ce5a13971e01be5c198f12 (
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 {
static int Main ()
{
return 0;
}
}
}
|