summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0837-4.cs
blob: bc11afa0c97ae13eb2764f9058d66a312a0c15d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group
// Line: 11

using System;
using System.Linq.Expressions;

class C
{
	public static void Main ()
	{
		Expression<Func<bool>> e = () => "1".ToString is string;
	}
}