repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-90.cs
blob
eae64a7dd232a70b0abce9e4f68a39a95be9adc8
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
}