Thank you Jb, I did find one useful example here: http://stackoverflow.com/questions/4073828/how-to-determine-which-methods-are-called-in-a-method
Best regards, Michael Herman (Toronto) On Tuesday, August 16, 2016 at 8:26:50 PM UTC-4, Jb Evain wrote: > > Hello Michael, > > I don't think there's a sample that does exactly that, but it's not > complicated. > > Iterate over all the instructions in a module, and get the scope of their > type. The scope will be either your opened ModuleDefinition or an > AssemblyNameReference and in that case you'll know where the > type/field/method is defined in. > > Jb > > > On Mon, Aug 15, 2016 at 3:56 PM, Michael Herman <[email protected] > <javascript:>> wrote: > >> Where can I find a Cecil sample that scans an assembly/DLL and reports on >> all of the API methods that the assembly refers to? ...that is methods >> refered to or called from the source code for the assembled? ...static >> analysis only. >> >> Best regards, >> Michael >> >> -- >> -- >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- -- 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.
