projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git]
/
mcs
/
errors
/
cs0030-8.cs
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
}