linux-packaging-mono/mcs/tests/test-partial-21.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

48 lines
605 B
C#

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 ()
{
}
}
}