Hi JB,

I have created code to weave ASP.Net Web MVC application using Mono Cecil. 
MSIL injected to write method name and parameter values into the log. This 
code worked fine for couple of MVC applications.
 
Now weaved another ASP.Net Web MVC application that has filters and custom 
attributes. For some reason, method calls are getting executed repeatedly 
and login page is not coming up. 

Can you please help?

Thanks in advance!

Regards,
Venu
---------------------------------------------------------------------------------

On Monday, February 21, 2011 at 6:16:23 AM UTC+5:30, fir3pho3nixx wrote:

> Hi 
>
> Wanted to know what is the correct way to emit and IL call to a 
> generic method, example: 
>
> public class Foo 
> { 
>    public void DoStuff<T>() 
>    { 
>    } 
> } 
>
> If I wanted to create a new method definition that copies the 
> signature of the existing method do stuff called "Cloned_DoStuff<T>" 
> how would I emit the IL Call from the clone to the original using the 
> IL Processor? Currently I am stuck with 
>
> call       instance void Test.Foo::DoStuff<[1]>() 
>
> and it should be 
>
> call       instance void Test.Foo::DoStuff<T>() 
>
> Is there something I am missing? 
>
> Thx 
>
> ~G 
>
>

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to