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
/
cs0183-2.cs
blob
331572a174a28e7d20a598d7fa599171c031fc41
1
// CS0183: The given expression is always of the provided (`object') type
2
// Line: 10
3
// Compiler options: -warnaserror -warn:1
4
5
class
X
6
{
7
public void
Foo
()
8
{
9
int
x
=
1
;
10
if
(
x
is object
) {
11
}
12
}
13
}