repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update readme (#21797)
[mono-project.git]
/
mcs
/
errors
/
cs8155.cs
blob
45d8b4e414ab535b57d4570fa3846a5044ebcb5c
1
// CS8155: Lambda expressions that return by reference cannot be converted to expression trees
2
// Line: 14
3
4
using
System
.
Linq
.
Expressions
;
5
6
class
TestClass
7
{
8
static int
x
;
9
10
delegate ref int
D
();
11
12
static void
Main
()
13
{
14
Expression
<
D
>
e
= () =>
ref
x
;
15
}
16
}