blob: 3fe1ac2ab34f6bb363f2d106fa21feb92bc73988 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0835: Cannot convert `lambda expression' to an expression tree of non-delegate type `string'
// Line: 10
using System.Linq.Expressions;
class C
{
public void Foo ()
{
Expression<string> e = () => "a";
}
}
|