2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0019-4.cs
blob7014837fe651e0f8bcc0c671920c32038e0c2cb4
1 // CS0019: Operator `+=' cannot be applied to operands of type `EventHandler' and `T'
2 // Line: 10
4 using System;
6 public delegate void EventHandler (int i, int j);
8 public class Button {
10 public event EventHandler Click;
12 public void Connect<T> () where T : class
14 Click += default (T);