Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Oct 31, 2009 12:21:21 AM |
Updated | Nov 8, 2011 1:07:05 PM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Ilya Ryzhenkov (orangy) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; using System.Linq.Expressions; class A { public static void Foo(int y, int x = 1) { Console.WriteLine(x); } private static void Main() { Expression<Action<int>> a = x => Foo(x, x: 1); // error CS0853: An expression tree may not contain a named argument specification } }