[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-770.cs
blob85b2ad50015e1a359c7b9e602a78189255795717
1 using System;
3 public class MyClass
5 public class A
7 public event EventHandler MouseClick;
10 public class B : A
12 public new event EventHandler MouseClick;
15 public class C : B
17 public new void MouseClick ()
19 Console.WriteLine ("This should be printed");
23 static public void Main ()
25 C myclass = new C ();
26 myclass.MouseClick ();