repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0834.cs
blob
7ba58a33fb39c84ef777aa5222b05f5a6caf2ecb
1
// CS0834: A lambda expression with statement body cannot be converted to an expresion tree
2
// Line: 12
3
4
using
System
.
Linq
.
Expressions
;
5
6
class
C
7
{
8
delegate bool
D
();
9
10
public void
Foo
()
11
{
12
Expression
<
D
>
e
= () =>
{ return true; }
;
13
}
14
}