[Mono-devel-list] [PATCH] TypeBuilder.GetMethod and other updates for .NET 2.0 beta2 API
Kamil Skalski
nazgul at nemerle.org
Wed Jun 8 09:50:12 EDT 2005
Hello!
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).
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 ().
--
Kamil Skalski
http://nazgul.omega.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs.diff
Type: text/x-diff
Size: 10107 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050608/178ed504/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono.diff
Type: text/x-diff
Size: 5821 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050608/178ed504/attachment-0001.bin
More information about the Mono-devel-list
mailing list