projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0029-21.cs
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
}