mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
20 lines
222 B
C#
20 lines
222 B
C#
// cs0151.cs: A value of an integral type or string expected for switch
|
|
// Line: 12
|
|
class Y {
|
|
byte b;
|
|
}
|
|
|
|
class X {
|
|
static void Main ()
|
|
{
|
|
Y y = new Y ();
|
|
|
|
switch (y){
|
|
case 0:
|
|
break;
|
|
case 1:
|
|
break;
|
|
}
|
|
}
|
|
}
|