projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msvc] Update csproj files (#4136)
[mono.git]
/
mcs
/
tests
/
gtest-579.cs
1
public interface IA<T>
2
{
3
}
4
5
6
public class G<U, V> : IA<G<V, string>>
7
{
8
}
9
10
public class C
11
{
12
static bool Test_2 <T2>(T2[] t)
13
{
14
return t is byte[];
15
}
16
17
public static int Main ()
18
{
19
G<long, short> p = new G<long, short> ();
20
if (p is IA<G<string, string>>)
21
return 1;
22
23
if (Test_2 (new int [0]))
24
return 2;
25
26
if (!Test_2 (new byte [0]))
27
return 3;
28
29
return 0;
30
}
31
}