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

gcs0853.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83b7dd069ac2df9273e006f63472bbcff5858c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0853: An expression tree cannot contain named argument
// Line: 15
// Compiler options: -langversion:future

using System;
using System.Linq.Expressions;

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