Files
Marek Safar d2a26c9595 [mcs] C# 7 tuple (foundation only).
Still couple of advanced features not implemented and parser cannot
deal with unnamed tuple type at type declaration level.
2017-06-30 19:47:06 +02:00

13 lines
211 B
C#

// CS8143: An expression tree cannot contain a tuple literal
// Line: 11
using System;
using System.Linq.Expressions;
class C
{
public static void Main ()
{
Expression<Func<object>> l = () => (-1, 2);
}
}