Method call list in c#

Jun 5 2014 2:05 PM

I have a .net project which is a class library. It has 200 .cs files . Now I have got a requirement now to create a windows project and by a button click it must give me the method calls. for example my class library consists of 1 .cs files . 
C:\Project\sample\BusinessLogic_BUS\FirstClass.cs
Public class FirstClass
{
Public void method1(){Method2()}
Public void method2(){Method3()}
Public void method3(){Method4()}
Public void method4(){-----------}

}

I have a windows project which have two text boxes and a button 
In the First text box I will give the location of the .cs file as "C:\Project\sample\BusinessLogic_BUS\FirstClass.cs"
In the Second text box I will give the method name in the .cs file as "method4"
Now it must create an array which consists of the items as below.
Since Method4 is called in Method3 , Method3 is called in Method2, Method2 is called in Method1 

Method4
Method3
Method2
Method1

The coding must not consist of any file readers or any stream readers. Initially i tried it using reflection but getting only details of all the methods in the .cs file.

Kindly help.

Regards
sreeni