[Mono-bugs] [Bug 75457][Nor] New - [GMCS] GenericParam.BaseType == null

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 4 02:07:22 EDT 2005


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 bmaurer at users.sf.net.

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

--- shadow/75457	2005-07-04 02:07:22.000000000 -0400
+++ shadow/75457.tmp.20239	2005-07-04 02:07:22.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 75457
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: martin at ximian.com                            
+ReportedBy: bmaurer at users.sf.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] GenericParam.BaseType == null
+
+Consider:
+
+public class X {
+        class Z <T> {
+        }
+
+        static void Main ()
+        {
+                System.Console.WriteLine (typeof (Z <>).GetGenericArguments
+() [0].BaseType);
+        }
+}
+
+On Mono this returns null. However, in a sample on brada's blog
+
+http://blogs.msdn.com/brada/archive/2004/01/27/63739.aspx
+
+It depends on it returning s.object.


More information about the mono-bugs mailing list