Author: zoltan
Date: 2005-03-08 09:22:15 -0500 (Tue, 08 Mar 2005)
New Revision: 41570
Modified:
trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
Log:
2005-03-08 Zoltan Varga <[EMAIL PROTECTED]>
* TypeBuilderTest.cs: Add new test.
Modified: trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
2005-03-08 14:21:14 UTC (rev 41569)
+++ trunk/mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
2005-03-08 14:22:15 UTC (rev 41570)
@@ -1,3 +1,7 @@
+2005-03-08 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * TypeBuilderTest.cs: Add new test.
+
2005-02-11 Zoltan Varga <[EMAIL PROTECTED]>
* TypeBuilderTest.cs: Add tests for IsAssignableFrom.
Modified: trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
2005-03-08 14:21:14 UTC (rev 41569)
+++ trunk/mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs
2005-03-08 14:22:15 UTC (rev 41570)
@@ -1778,6 +1778,8 @@
tb.AddInterfaceImplementation (typeof (IDisposable));
// Fails under MS.NET:
//Assert (tb.IsAssignableFrom (typeof (IDisposable)));
+
+ Assert (typeof (Bar[]).IsAssignableFrom (module.GetType
(tb.FullName + "[]")));
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches