projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
[mono.git]
/
mcs
/
tests
/
gtest-anon-2.cs
1
using System;
2
3
public delegate void Simple ();
4
5
public delegate Simple Foo ();
6
7
class X
8
{
9
public void Hello<U> (U u)
10
{ }
11
12
public void Test<T> (T t)
13
{
14
T u = t;
15
Hello (u);
16
Foo foo = delegate {
17
T v = u;
18
Hello (u);
19
return delegate {
20
Hello (u);
21
Hello (v);
22
};
23
};
24
Simple simple = foo ();
25
simple ();
26
Hello (u);
27
}
28
29
static void Main ()
30
{
31
X x = new X ();
32
x.Test (3);
33
}
34
}