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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
tests
/
gtest-anon-57.cs
blob
728ab70488716578839877f2fe14c58604ab8962
1
using
System
;
2
3
delegate void
Foo
();
4
5
interface
IFoo
<
T
>
6
{
7
void
Test
();
8
}
9
10
class
X
<
T
> :
IFoo
<
T
>
11
{
12
void
IFoo
<
T
>.
Test
()
13
{
14
Foo foo
=
delegate
{
15
Console
.
WriteLine
(
1
);
16
};
17
18
foo
();
19
}
20
}
21
22
class
M
23
{
24
static void
Main
()
25
{
26
IFoo
<
int
>
x
=
new
X
<
int
> ();
27
x
.
Test
();
28
}
29
}