repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0066.cs
blob
9389e7a6cc29dc91080f60554f04e555d863c143
1
// cs0066.cs: `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
}