1 // CS0832: An expression tree cannot contain an assignment operator
5 using System.Linq.Expressions;
7 public delegate void EventHandler (int i, int j);
11 public event EventHandler Click;
16 public static void Main ()
18 Button b = new Button ();
19 Expression<Action> e = () => b.Click += new EventHandler (Button1_Click);
22 public static void Button1_Click (int i, int j)