repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0030-8.cs
blob
ed387372fee682a95451faee389cba45ad3f22de
1
// CS0030: Cannot convert type `bool' to `int'
2
// Line: 9
3
4
class
X
5
{
6
static void
Main
()
7
{
8
const bool
b
=
true
;
9
int
a
= (
int
)(
b
?
true
:
false
);
10
}
11
}