1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// CS0469: The `goto case' value is not implicitly convertible to type `char' // Line: 16 // Compiler options: -warnaserror -warn:2 class Test { static void Main() { char c = 'c'; switch (c) { case 'A': break; case 'a': goto case 65; } } }