5 static int switch1 (ulong a
)
8 case long.MaxValue
- 1:
10 case long.MaxValue
+ (ulong) 1:
12 case long.MaxValue
+ (ulong) 2:
14 case long.MaxValue
+ (ulong) 3:
23 static int switch2 (sbyte a
)
35 static int switch3 (long a
)
47 static int switch4 (ulong a
)
51 goto case ulong.MaxValue
;
60 static int switch5(ulong x
)
72 public static int Main ()
74 if (switch1 (long.MaxValue
+ (ulong) 1) != 2)
77 if (switch2 (-1) != 2)
80 if (switch3 (-1) != 2)
83 if (switch4 (ulong.MaxValue
) != 4)
86 if (switch4 (long.MaxValue
) != 4)
92 Console
.WriteLine ("1");