repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
tests
/
test-anon-14.cs
blob
7967001c97f9fddd11a5e42084f1e7089f4b40e8
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
public static void
Main
()
16
{
17
T t
;
18
19
// Method group assignment
20
t
=
Method
;
21
22
Click
+=
Method
;
23
}
24
}