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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
gtest-497.cs
blob
5d879d43fbf9386f12ec4cb6149866ccfad02748
1
class
Item
2
{
3
}
4
5
class
ItemCollection
<
T
>
where T
:
Item
6
{
7
public void
Bind
<
U
> (
ItemCollection
<
U
>
sub
)
where U
:
T
8
{
9
}
10
}
11
12
class
a
13
{
14
public static void
Main
()
15
{
16
var
ic
=
new
ItemCollection
<
Item
> ();
17
ic
.
Bind
(
ic
);
18
}
19
}