Creating a basic proxy for intercepting [quick update]

added by mehfuzh
2/28/2010 10:15:21 AM

1 Kicks, 106 Views

In my previous post, i enhanced the proxy to support generic calls. In order to minimize IL emit and move more parts to managed code, there is a better way to process the return value rather doing the checks against runtime method and see whether the method’s return type is a value or not for generic calls to un-box the object form that is returned from the interceptor.