[Mono-dev] Profiler and generics

Giacomo Tesio giacomo at tesio.it
Wed Dec 7 04:29:00 EST 2011


Hi,
I could work on it, just I have no idea about what is stable enough to be
exposed and what is not.

I wondered about an api like this (similar to that of
System.Reflection.MethodInfo<http://msdn.microsoft.com/it-it/library/system.reflection.methodinfo_members(v=VS.90).aspx>
):

gboolean mono_method_is_generic_method(MonoMethod * method);
gboolean mono_method_is_generic_method_definition(MonoMethod * method);
MonoMethod * mono_method_get_generic_method_definition(MonoMethod *
method);
and so on... analogue work should be done for the MonoClass (if missing, I
hadn't time to check this well).

I should be able to write them and pull, but I was not sure they are right
from the mono internal's point of view.


Giacomo

On Sun, Nov 6, 2011 at 4:38 PM, Giacomo Tesio <giacomo at tesio.it> wrote:

> Hello list, how can I access in a polite way to the MonoMethodInflated
> structure?
>
> In general it seem that there's no way (beyond the horrible hack that I
> used here <https://github.com/mono/monocov/pull/9>) to improves the
> handling of generic methods in MonoCov.
>
> Do you know if anyone is working on the matter (or in any other coverage
> tool working for mono)?
>
>
> Can I help here? Anybody care?
> I use code coverage a lot on windows and is something I really miss on
> mono.
>
>
> Giacomo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111207/0dcd3fae/attachment.html 


More information about the Mono-devel-list mailing list