On Mon, Nov 29, 2010 at 7:18 PM, Jeff Nevins <[email protected]> wrote:
> And how can I get a handle (no put intended) on the executing Method's
> TypeHandle?

MethodDefinition theMethod = ...;
ILProcessor il = theMethod.Body.GetILProcessor ();

// ...
il.Emit (OpCodes.Ldtoken, theMethod.DeclaringType);
//..

Jb

-- 
--
mono-cecil

Reply via email to