summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1593-3.cs
blob: 46defe582d88774905a5c8812a21dc2be795bd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1593: Delegate `System.Func<int,int>' does not take `2' arguments
// Line: 11


using System;

class C
{
	static void Main (string [] args)
	{
		M ((x, y) => 2);
	}

	static void M (Func<int, int> a)
	{
	}
}