Hey Philip,

On 5/26/09, Philip_L <[email protected]> wrote:
>  Is there any way to intercept direct access to fields using Cecil?
>  Right now, I'm redirecting ldfield/stfield calls to an interceptor,
>  and that seems to work well--but my question is this: is there a
>  better way of doing this with the Cecil API?

Nope, Cecil doesn't provide an interception API. Your approach is a
good one, injecting code around ldfld, stfld, ldsfld and stsfld.

-- 
Jb Evain  <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to