Bug 318441 (MONO75457) - [GMCS] GenericParam.BaseType == null
Summary: [GMCS] GenericParam.BaseType == null
Status: RESOLVED FIXED
Alias: MONO75457
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 09:07 UTC by Ben Maurer
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:24:13 UTC


---- Reported by bmaurer@users.sf.net 2005-07-04 02:07:21 MST ----

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.



---- Additional Comments From martin@ximian.com 2005-07-04 11:58:32 MST ----

Fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".