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-033.cs
blob
90be979974c04904429621d403e8f76733cee34e
1
// Generic interfaces
2
3
interface
Foo
<
R
,
S
>
4
{
5
void
Hello
(
R r
,
S s
);
6
}
7
8
interface
Bar
<
T
,
U
,
V
> :
Foo
<
V
,
float
>
9
{
10
void
Test
(
T t
,
U u
,
V v
);
11
}
12
13
class
X
14
{
15
static void
Test
(
Bar
<
long
,
int
,
string
>
bar
)
16
{
17
bar
.
Hello
(
"Test"
,
3.14
F
);
18
bar
.
Test
(
512
,
7
,
"Hello"
);
19
}
20
21
public static void
Main
()
22
{ }
23
}