Warnings cleanup
[mcs.git] / tests / test-264.cs
blobb4f5031d7868855a949c5268399f5016615b946b
1 using System;
3 public class Proef
5 private EventHandler _OnDoSomething = null;
7 public event EventHandler OnDoSomething
9 add
11 _OnDoSomething += value;
13 remove
15 _OnDoSomething -= value;
19 static void Temp(object s, EventArgs e)
23 public static void Main()
25 Proef temp = new Proef();
26 temp.OnDoSomething += new EventHandler(Temp);