projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git]
/
mcs
/
tests
/
gtest-anon-12.cs
1
using System;
2
3
public delegate void Foo ();
4
5
public class World<T>
6
{
7
public void Hello<U> (U u)
8
{ }
9
10
public void Test (T t)
11
{
12
Hello (t);
13
Foo foo = delegate {
14
Hello (t);
15
};
16
}
17
}
18
19
class X
20
{
21
static void Main ()
22
{
23
World<X> world = new World<X> ();
24
world.Test (new X ());
25
}
26
}