[threadpool] Pass callback at initialization (#4546)
[mono.git] / mcs / errors / cs0037-7.cs
index 49a1f61ed5ebcf3140531e11a6264591ba30ec52..b9ee407d650adcf93cb1d7e51fea4f3abbcb0deb 100644 (file)
@@ -1,10 +1,15 @@
-// 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;
+               }
+       }
+}