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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs0151.cs
blob
c76071fd356902c03cd6f64957b33267ba836718
1
// cs0151.cs: A value of an integral type or string expected for switch
2
// Line: 12
3
class
Y
{
4
byte
b
;
5
}
6
7
class
X
{
8
static void
Main
()
9
{
10
Y y
=
new
Y
();
11
12
switch
(
y
){
13
case
0
:
14
break
;
15
case
1
:
16
break
;
17
}
18
}
19
}