repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-221.cs
blob
44186740e7cb1ce0c61251e5d1f8b078983274e0
1
interface
IFoo
{}
2
interface
IBar
{}
3
4
class
C1
<
IFoo
>
where IFoo
:
IBar
5
{
6
}
7
8
abstract class
C2
9
{
10
public abstract
C1
<
T
>
Hoge
<
T
> (
C1
<
T
>
c
)
where T
:
IBar
;
11
}
12
13
class
C3
:
C2
14
{
15
public override
C1
<
T
>
Hoge
<
T
> (
C1
<
T
>
c
)
{ return null; }
16
}
17
18
class
X
19
{
20
static void
Main
()
21
{ }
22
}