[Mono-dev] [PATCH][GMCS] add MakeGenericMethod to MethodInfo

Kamil Skalski kamil.skalski at gmail.com
Fri Sep 2 15:16:18 EDT 2005


I attach the more complete and correct patch - MakeGenericMethod is
added to MethodBase instead of MethodInfo, I made necessary changes to
gmcs and mbas, also the change to GenericParameterAttributes is
included.

One question I would like to ask is if I should also change the
runtime icalls from BindTypeParameters to MakeGenericType /
MakeGenericMethod, or should this be left for another patch. If this
patch is ok in its state, I will commit.

2005/8/30, Michal Moskal <michal.moskal at gmail.com>:
> Hello,
> 
> The MS Aug CTP release removes BindGenericParameters/Arguments methods
> from System.Type and MethodInfo. Instead MakeGenericType and
> MakeGenericMethod should be used. Mono has the first one implemneted.
> The attached patch implemnets the second one.
> 
> 2005-08-30  Michal Moskal  <malekith at nemerle.org>
> 
>         * MethodInfo.cs: Add MakeGenericMethod to match Aug CTP API.
> 
> --
>    Michal Moskal,
>    http://nemerle.org/~malekith/
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 
> 


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the Mono-devel-list mailing list