http://bugzilla.novell.com/show_bug.cgi?id=616809
http://bugzilla.novell.com/show_bug.cgi?id=616809#c1 Zoltan Varga <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|misc |C# Product|Mono: Runtime |Mono: Compilers --- Comment #1 from Zoltan Varga <[email protected]> 2010-06-23 23:47:17 UTC --- This looks like a gmcs bug. Testcase which compiles: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< using System; using TestGeneric = testCase.GenericClass<double>; public class testCase { public class GenericClass<T> { } public class AbstractClass1 { private Type m_type; public AbstractClass1(Type objectType) { m_type = objectType; Console.WriteLine("passed in type: " + objectType.FullName); } public Type Type { get { return m_type; } } } public class AbstractClass2 : AbstractClass1 { public AbstractClass2() : base(typeof(TestGeneric)) { } } public static void Main () { { var testClass = new AbstractClass2(); //this fails in mono Console.WriteLine (testClass.Type == typeof(GenericClass<double>)); } } } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AbstractClass2:.ctor contains: ldtoken testCase/GenericClass`1 while it should contain: ldtoken class testCase/GenericClass`1<float64> -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
