Hi, I want to write some program that would read through assemblies and goes into the method and find out all the calls that are made in that method. Can you please help me write that...
So suppose there is a method Execute and it calls
Execute()
{
(new Manager1()).SomeMethod1();
(new Manager2()).SomeMethod2();
(new Manager3()).SomeMethod3();
}
I want to write Manager1 and someMethodX, all these to a database.
Adhar JainPosted Sep 8, 2010, 1:20 AM
What I want is..all the method calls within a method in an assembly and the conditions where these calls are made e.g
if(condition1)
(new Manager1()).SomeMethod1();
else if(condition2)
(new Manager1()).SomeMethod2();
condition1? Manager1? SomeMethod1/2?
I know this is possible through reflection but how.. is looking for..
Dipal ChoksiPosted Sep 7, 2010, 1:14 PM
Cheers!
Dipal