summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1661-2.cs
blob: a7035ef01951051449f0857d98e2c53cdaafc262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1661: Cannot convert `lambda expression' to delegate type `C.WithOutParam' since there is a parameter mismatch
// Line: 10

class C
{
	delegate void WithOutParam (out string value);

	static void Main() 
	{
		WithOutParam o = (string l) => { return; };
	}
}