resync
[mcs.git] / errors / gcs0019-4.cs
blob8ed3ba11849e92a897af1fe72f6067175d51d826
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);