Re: [Mono-dev] [PATCH] Remoting with generics

2009-10-05 Thread Zoltan Varga
Hi,

  Generic structs can be handled by:

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

On Mon, Oct 5, 2009 at 6:51 PM, Bill Holmes  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  
>
>* 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@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Remoting with generics

2009-10-05 Thread Bill Holmes
Bug filed.

https://bugzilla.novell.com/show_bug.cgi?id=56

On Mon, Oct 5, 2009 at 1:30 PM, Robert Jordan  wrote:
> Hi Bill,
>
> Bill Holmes 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.
>
> I believe the patch doesn't handle byref generic structs.
>
> Robert
>
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Remoting with generics

2009-10-05 Thread Robert Jordan
Hi Bill,

Bill Holmes 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.

I believe the patch doesn't handle byref generic structs.

Robert

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] Remoting with generics

2009-10-05 Thread Bill Holmes
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  

* 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


generic-remoting.patch
Description: Binary data
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list