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
[xbuild] More tweaks for portable debug mode
[mono-project.git]
/
mcs
/
errors
/
cs0266-23.cs
blob
f10be25a49619471aa316d9cb8f3ff13cc680a13
1
// CS0266: Cannot implicitly convert type `object' to `bool'. An explicit conversion exists (are you missing a cast?)
2
// Line: 9
3
4
class
X
5
{
6
static void
Main
()
7
{
8
object
o
=
true
;
9
bool
b
= (
o
??
string
.
Empty
);
10
}
11
}