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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0184-6.cs
blob
bfb7781978d34498fa6daa236e33d70ec5443feb
1
// CS0184: The given expression is never of the provided (`Y') type
2
// Line: 10
3
// Compiler options: -warnaserror -warn:1
4
5
class
Y
6
{
7
}
8
9
class
X
10
{
11
public void
Foo
()
12
{
13
X x
=
null
;
14
if
(
x
is
Y
) {
15
}
16
}
17
}