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 #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0066.cs
blob
e45d27a65ca4d717ed85066840c63cf10ace0d1f
1
// CS0066: `Button.Click': event must be of a delegate type
2
// Line : 10
3
4
using
System
;
5
6
public delegate void
EventHandler
(
object
sender
,
EventArgs e
);
7
8
public class
Button
{
9
10
public event
Blah Click
;
11
12
public void
Reset
()
13
{
14
Click
=
null
;
15
}
16
}
17
18
public class
Blah
{
19
20
public static void
Main
()
21
{
22
Blah b
=
new
Blah
();
23
}
24
25
}