* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-127.cs
blob2a73fe72117da43bedb4e5fc81a6b55199176518
1 public class A<T>
3 public delegate void Changed (A<T> a);
5 protected event Changed _changed;
7 public void Register (Changed changed)
9 _changed += changed;
10 _changed (this);
14 public class Test
16 public static void Main ()
18 A<int> a = new A<int> ();
19 a.Register (new A<int>.Changed (Del));
22 public static void Del (A<int> a)
24 System.Console.WriteLine ("Solved");