projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
2test-5.cs
1
// Compiler options: -langversion:default
2
3
//
4
// Anonymous method group conversions
5
//
6
7
class X {
8
delegate void T ();
9
static event T Click;
10
11
static void Method ()
12
{
13
}
14
15
static void Main ()
16
{
17
T t;
18
19
// Method group assignment
20
t = Method;
21
22
Click += Method;
23
}
24
}