Bugzilla – Bug 318441
[GMCS] GenericParam.BaseType == null
Last modified: 2007-09-15 21:24:46 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".