[Mono-devel-list] a method's code array
Max Zilberman
mzilberman at crosscurrent.com
Thu Mar 18 16:19:09 EST 2004
Bart,
Type.GetMethods() will get you an array of MethodInfo objects.
Max
> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com [mailto:mono-devel-list-
> admin at lists.ximian.com] On Behalf Of Bart Van Rompaey
> Sent: Thursday, March 18, 2004 3:57 PM
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-devel-list] a method's code array
>
> Is there some library which gets you the code array (in hex) for the
> methods in a class? I've been searching in System.Reflection and
> System.Reflection.Emit. I can get all kind of metadata there and with
> Emit you can genereate method bodies by supplying byte arrays, but I
> can't find a method to get existing byte code.
>
> thanx in advance,
> Bart
>
> --
> Bart Van Rompaey <bart at perfectpc.be>
>
> _______________________________________________
> 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