[Mono-dev] Generic Variance

Rodrigo Kumpera kumpera at gmail.com
Thu Feb 5 19:32:51 EST 2009


@@ -2086,6 +2086,55 @@
     return (key->interface_id - element->interface_id);
 }

+static gboolean
+mono_class_has_variant_generic_params (MonoClass *klass)
+{
Use a forward declaration instead of moving the function.

Index: mono/tests/generic-variance2.cs
===================================================================
--- mono/tests/generic-variance2.cs    (revision 0)
+++ mono/tests/generic-variance2.cs    (revision 0)

Put all variance related tests into a single file and move then to the mini
test suite since
bad interactions with gsharing is going to happen.


I would suggest doing proper caching of
mono_class_has_variant_generic_params but this can be
done in a later patch.




On Thu, Feb 5, 2009 at 12:33 PM, Scott Peterson <lunchtimemama at gmail.com>wrote:

> And another new patch which syncs with SVN and does some minor refactoring.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090205/b59bb0a0/attachment.html 


More information about the Mono-devel-list mailing list