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
[Http]: Cosmetic, remove some dead code.
[mono-project.git]
/
mcs
/
errors
/
cs0029-21.cs
blob
b6d3c34b39a8d910fce8326bb4ccaaefce32efa2
1
// CS0029: Cannot implicitly convert type `T' to `EventHandler'
2
// Line: 14
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
}