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