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
Move Enum and CorElementType to shared (dotnet/coreclr#23177)
[mono-project.git]
/
mcs
/
tests
/
gtest-611.cs
blob
4841b0205ff80cf33fdd1bb31109eeb0549b0ea2
1
interface
I
2
{
3
}
4
5
class
X
:
I
6
{
7
}
8
9
class
X2
10
{
11
public static void
Main
()
12
{
13
Foo
<
I
,
I
> (
new
X
[
0
]);
14
Foo
<
X
,
I
> (
new
X
[
0
]);
15
}
16
17
static void
Foo
<
T1
,
T2
> (
T2
[]
array
)
where T1
:
class
,
T2
18
{
19
T1
[]
a
= (
T1
[])
array
;
20
}
21
22
static void
Foo
<
T1
,
T2
> (
T2
[][]
array
)
where T1
:
class
,
T2
23
{
24
T1
[][]
a
= (
T1
[][])
array
;
25
}
26
}