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
/
cs8122.cs
blob
3f31be006517c76c4983ad96d1378315e1d6fe7a
1
// CS8122: An expression tree cannot contain a pattern matching operator
2
// Line: 12
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
X
8
{
9
public static void
Main
()
10
{
11
object
o
=
1
;
12
Expression
<
Func
<
bool
>>
e
= () =>
o
is int
y
;
13
}
14
}