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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs8198.cs
blob
267c57ea0a9cf336a5f04de28c16a7548f3d41bc
1
// CS8198: An expression tree cannot contain out variable declaration
2
// Line: 11
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
C
8
{
9
static void
Main
()
10
{
11
Expression
<
Func
<
bool
>>
e
= () =>
Out
(
out int
x
);
12
}
13
14
static bool
Out
(
out int value
)
15
{
16
value
=
3
;
17
return true
;
18
}
19
}