Author: marek
Date: 2007-10-05 16:09:20 -0400 (Fri, 05 Oct 2007)
New Revision: 87008

Added:
   trunk/mcs/tests/test-partial-21.cs
Log:
A test for bug #324677



Added: trunk/mcs/tests/test-partial-21.cs
===================================================================
--- trunk/mcs/tests/test-partial-21.cs  2007-10-05 20:08:17 UTC (rev 87007)
+++ trunk/mcs/tests/test-partial-21.cs  2007-10-05 20:09:20 UTC (rev 87008)
@@ -0,0 +1,47 @@
+namespace Mono.Sms
+{
+       partial class Main
+       {
+       }
+}
+
+namespace Mono.Sms
+{
+       using Mono.Sms.Core;
+
+       public partial class Main
+       {
+               public void Test ()
+               {
+                       Contacts frm = new Contacts ();
+                       frm.ContactsEventHandler += delegate () {
+                               Agenda.AddContact ();
+                       };
+               }
+       }
+
+       public partial class Contacts
+       {
+               public void Test ()
+               {
+                       ContactsEventHandler ();
+               }
+
+               public delegate void ContactsHandler ();
+               public event ContactsHandler ContactsEventHandler;
+       }
+}
+
+namespace Mono.Sms.Core
+{
+       public class Agenda
+       {
+               public static void AddContact ()
+               {
+               }
+               
+               public static void Main ()
+               {
+               }               
+       }
+}


Property changes on: trunk/mcs/tests/test-partial-21.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to