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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs1644-4.cs
blob
ac54cd12801d7285da7292d2c8aa498f82665cdd
1
// CS1644: Feature `switch expression of boolean type' cannot be used because it is not part of the C# 1.0 language specification
2
// Line: 8
3
// Compiler options: -langversion:ISO-1
4
5
class
Class
{
6
public void
Foo
(
bool
b
)
7
{
8
switch
(
b
)
9
{
10
case true
:
11
break
;
12
case false
:
13
break
;
14
}
15
}
16
}