summaryrefslogtreecommitdiff
path: root/mcs/tests/test-417.cs
blob: 590dbb1a9d2ca71611b7d98dc5f62565020f3028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Compiler options: -r:test-417-lib.dll

using System;
using blah;

namespace blah2
{

public class MyClass
{
    public event MyFunnyDelegate DoSomething;

    public void DoSomethingFunny()
    {
        if (DoSomething != null) DoSomething(this, "hello there", "my friend");
    }

	public static void Main(string[] args)
	{
		MyClass mc = new MyClass();
		mc.DoSomethingFunny();

	}
}

}