[Mono-dev] [PATCH] Remoting with generics

Zoltan Varga vargaz at gmail.com
Mon Oct 5 16:25:41 EDT 2009


Hi,

  Generic structs can be handled by:

            case MONO_TYPE_GENERICINST:
                if (!mono_type_generic_inst_is_valuetype (type)) {
                           <handle ref case>
                } else {
                       /* Fall though */
                }
           case MONO_TYPE_VALUETYPE:
                   ...

On Mon, Oct 5, 2009 at 6:51 PM, Bill Holmes <billholmes54 at gmail.com> wrote:

> Hi,
>
> The attached bug fixes calling a remoting method that has an arguments
> that is an out generic.
>
> There is also a test attached.
>
> 2009-10-05  Bill Holmes  <billholmes54 at gmail.com>
>
>        * object.c (mono_method_return_message_restore) : Adding the
>          MONO_TYPE_GENERICINST case to handle generic arguments.
>
>        * generic-remoting.cs : Added to test remotng with generic
> arguments.
>
>        * Makefile.am : Adding generic-remoting.
>
>        Code is contributed under MIT/X11 license.
>
> -bill
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091005/9e65422b/attachment-0001.html 


More information about the Mono-devel-list mailing list