projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git]
/
mcs
/
tests
/
test-static-using-06.cs
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
}