summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0853.cs
blob: e164e80224b4df2f823b7686fb4dce4da17435a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0853: An expression tree cannot contain named argument
// Line: 15

using System;
using System.Linq.Expressions;

class M
{
	static void Named (int i)
	{
	}
	
	public static void Main ()
	{
		Expression<Action> e = () => Named (i : 1);
	}
}