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-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0019-4.cs
blob
7014837fe651e0f8bcc0c671920c32038e0c2cb4
1
// CS0019: Operator `+=' cannot be applied to operands of type `EventHandler' and `T'
2
// Line: 10
3
4
using
System
;
5
6
public delegate void
EventHandler
(
int
i
,
int
j
);
7
8
public class
Button
{
9
10
public event
EventHandler Click
;
11
12
public void
Connect
<
T
> ()
where T
:
class
13
{
14
Click
+=
default
(
T
);
15
}
16
}