[Mono-devel-list] [PATCH] TypeBuilder.GetMethod and other updates for .NET 2.0 beta2 API

Martin Baulig martin at ximian.com
Wed Jun 8 11:31:33 EDT 2005


On Wed, 2005-06-08 at 15:50 +0200, Kamil Skalski wrote:

> I'm attaching our patch which updates mono with changes and additions in .NET 
> 2.0 beta 2.
> 
> There are some cosmetics changes of API, but most of the patch is related to 
> TypeBuilder static methods, which are used for obtaining instanciated version 
> of given MethodInfo (of Constructor / Field Info).

Hello,

thanks a lot for implementing this, it was next on my TODO list :-)

The patch looks good, can you please commit ?

Thanks,
Martin

> 
> The discussion about the new API is also here:
> http://galactus.ximian.com/pipermail/mono-devel-list/2005-May/012107.html
> http://galactus.ximian.com/pipermail/mono-devel-list/2005-June/012204.html
> 
> and
> http://nemerle.org/SRE_GetMember
> 
> So, after some experiments we have discovered that the best way to compare two 
> members is to compare token in methods and name in fields. The reason why the 
> crucial part of implementation is in runtime is because we avoid additional 
> allocations of arrays, which would be necessary when using GetMethods ().
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list