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
add comment
[mcs.git]
/
tests
/
gtest-exmethod-14.cs
blob
d5a6f6beb7f770b184a5c9dcea2612f28de46620
1
2
3
using
System
;
4
5
public interface
IA
6
{
7
void
Foo
(
IA self
);
8
}
9
10
public static class
C
11
{
12
public static void
Foo
(
this
IA self
)
13
{
14
self
.
Foo
<
int
> ();
15
}
16
17
public static void
Bar
<
U
> (
this
IA self
)
18
{
19
self
.
Foo
<
U
> ();
20
}
21
22
public static void
Foo
<
T
> (
this
IA self
)
23
{
24
}
25
26
public static void
Main
()
27
{
28
}
29
}