Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=77750

--- shadow/77750        2006-03-09 16:45:42.000000000 -0500
+++ shadow/77750.tmp.4426       2006-03-09 16:45:42.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 77750
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] missing nullable conversion
+
+This test case:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+public class Tests
+{
+       public static void Main ()
+       {
+               int?          dummy = null;
+
+               Console.WriteLine ("Hello: " + dummy);
+       }
+}
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+Causes gmcs to fail with:
+bug.cs(9,22): error CS0453: The type `string' must be a non-nullable value
+type in order to use it as type parameter `T' in the generic type or method
+`System.Nullable<T>'.
+Compilation failed: 1 error(s), 0 warnings
+
+while CSC compiles it fine.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to