summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0832-2.cs
blob: 2d0434823381111fc9872a673938e9a9c1317cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0832: An expression tree cannot contain an assignment operator
// Line: 13

using System;
using System.Linq.Expressions;

class C
{
	delegate void D (string s);
	
	public static void Main ()
	{
		Expression<D> e = (a) => a = "a";
	}
}