[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / test-partial-21.cs
blob99d8cbc68207525e48b2859d7158d49cdd7b2864
1 namespace Mono.Sms
3 partial class Main
8 namespace Mono.Sms
10 using Mono.Sms.Core;
12 public partial class Main
14 public void Test ()
16 Contacts frm = new Contacts ();
17 frm.ContactsEventHandler += delegate () {
18 Agenda.AddContact ();
23 public partial class Contacts
25 public void Test ()
27 ContactsEventHandler ();
30 public delegate void ContactsHandler ();
31 public event ContactsHandler ContactsEventHandler;
35 namespace Mono.Sms.Core
37 public class Agenda
39 public static void AddContact ()
43 public static void Main ()