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
Merge pull request #15293 from lewing/wasm-clean
[mono-project.git]
/
mcs
/
tests
/
gtest-032.cs
blob
39624edea10f0aa97b18569199a81c6925a5d70f
1
// Generic interfaces
2
3
interface
Foo
<
S
>
4
{
5
void
Hello
(
S s
);
6
}
7
8
interface
Bar
<
T
,
U
> :
Foo
<
U
>
9
{
10
void
Test
(
T t
,
U u
);
11
}
12
13
class
X
14
{
15
static void
Test
(
Bar
<
int
,
string
>
bar
)
16
{
17
bar
.
Hello
(
"Test"
);
18
bar
.
Test
(
7
,
"Hello"
);
19
}
20
21
public static void
Main
()
22
{ }
23
}