blob: 03ef7c2e9a9f61c9b53735196526597b7d284e76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// cs0151.cs: An integral value expected
// Line: 12
class Y {
byte b;
}
class X {
static void Main ()
{
Y y = new Y ();
switch (y){
case 0:
break;
case 1:
break;
}
}
}
|