Adhar Jain

Adhar Jain

  • NA
  • 3
  • 9.4k

Find called methods from a method in an assembly

Sep 7 2010 9:55 AM

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.
 

Answers (2)