reduce toods crying
[mono.git] / mcs / tests / 2test-5.cs
1 //
2 // Anonymous method group conversions
3 //
4
5 class X {
6         delegate void T ();
7         static event T Click;
8
9         static void Method ()
10         {
11         }
12
13         static void Main ()
14         {
15                 T t;
16
17                 // Method group assignment
18                 t = Method;
19
20                 Click += Method;
21         }
22 }