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