-// CS0037: Cannot convert null to `bool' because it is a value type
-// Line: 8\r
+// CS0037: Cannot convert null to `char' because it is a value type
+// Line: 12
-class X\r
-{\r
- static void Main (string[] args)\r
- {\r
- bool b = args.Length > 0 ? null : null;\r
- }\r
-}\r
+class C
+{
+ static void Test ()
+ {
+ char c = 'c';
+ switch (c)
+ {
+ case 'a':
+ goto case null;
+ }
+ }
+}