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
for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git]
/
mcs
/
errors
/
cs0184-11.cs
blob
6bfda8a4dc05bc55b61a9ec8642f7efae129c609
1
// CS0184: The given expression is never of the provided (`bool') type
2
// Line: 13
3
// Compiler options: -warnaserror -warn:1
4
5
using
System
;
6
7
class
X
8
{
9
void
Foo
()
10
{
11
int
?
i
=
null
;
12
13
if
(
i
is bool
) {
14
}
15
}
16
}