gregoryyoung1 at gmail.com
Sun Feb 15 08:15:43 UTC 2015
Now to get module on the unmanaged side. I figured it might be in
MonoClass but have yet to find it there. Maybe I should be looking
under the referenced MonoImage (though that doesn't seem quite right)
On Sun, Feb 15, 2015 at 9:00 AM, Jeroen Frijters <jeroen at sumatra.nl> wrote:
> If you know the module on the managed side, Module.ResolveMethod() can be used to get a MethodInfo from a token.
>> -----Original Message-----
>> From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-
>> bounces at lists.ximian.com] On Behalf Of Greg Young
>> Sent: Saturday, February 14, 2015 21:56
>> To: mono-devel-list at lists.ximian.com
>> Subject: [Mono-dev] MonoMethod->MethodInfo
>> Let's say I have a MonoMethod in unmanaged code. I want to pass some
>> data out of that code back into managed code (using some identifiers of
>> the monomethod) so that the managed code can obtain a MethodInfo via
>> At first I thought about passing the token(s). I cannot however find
>> anyway of looking up a MethodInfo based on its token (nor a type ...).
>> I could get the type and then iterate over the methods but this seems
>> like a bad idea.
>> 1) Am I missing something with tokens on the managed side?
>> 2) Is there some other way of doing this that I am missing?
>> Studying for the Turing test
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
Studying for the Turing test
More information about the Mono-devel-list