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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs8207.cs
blob
31090948b4579037097550c0406bc0c1ceb4e881
1
// CS8207: An expression tree cannot contain a discard
2
// Line: 11
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
X
8
{
9
void
Test
()
10
{
11
Expression
<
Func
<
bool
>>
e
= () =>
TryGetValue
(
out
_
);
12
}
13
14
bool
TryGetValue
(
out int
arg
)
15
{
16
arg
=
3
;
17
return true
;
18
}
19
}