2
Answers

Find called methods from a method in an assembly

Adhar Jain

Adhar Jain

14y
9.1k
1

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)