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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-static-using-03.cs
blob
c0b7ddb19ab7828672a1d1720d01e75e5b9f9b46
1
// Compiler options: -langversion:6
2
3
using
System
;
4
using static
A
.
B
.
X
;
5
6
namespace
A
.
B
7
{
8
static class
X
9
{
10
public static int
Test
(
int
o
)
11
{
12
return
1
;
13
}
14
}
15
}
16
17
namespace
A
.
C
18
{
19
static class
X
20
{
21
public static int
Test
(
int
o
)
22
{
23
return
2
;
24
}
25
}
26
}
27
28
namespace
C
29
{
30
using static
A
.
C
.
X
;
31
32
class
M
33
{
34
public static int
Main
()
35
{
36
if
(
Test
(
3
) !=
2
)
37
return
1
;
38
39
return
0
;
40
}
41
}
42
}