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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-static-using-06.cs
blob
36bb255b1d3114fe0fe4327eb40ef8a996abdc0f
1
// Compiler options: -langversion:6
2
3
using
System
;
4
using static
A
.
B
.
X
;
5
using static
A
.
C
.
X
;
6
7
namespace
A
.
B
8
{
9
static class
X
10
{
11
public static int
Test
(
object
o
)
12
{
13
return
1
;
14
}
15
}
16
}
17
18
namespace
A
.
C
19
{
20
static class
X
21
{
22
public static int
Test
<
T
> (
T o
)
23
{
24
if
(
typeof
(
T
) !=
typeof
(
object
))
25
return
-
1
;
26
27
return
2
;
28
}
29
}
30
}
31
32
namespace
C
33
{
34
class
M
35
{
36
public static int
Main
()
37
{
38
if
(
Test
<
object
> (
""
) !=
2
)
39
return
1
;
40
41
return
0
;
42
}
43
}
44
}