Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-336.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed2c6f337f7e3e8c4e9165dfcfeefe58db1a9314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;

public delegate void Foo ();
public delegate void Bar (int x);

class X
{
	public X (Foo foo)
	{ }

	public X (Bar bar)
	{ }

	static void Test ()
	{ }

	public static void Main ()
	{
		X x = new X (Test);
	}
}