Is there a tool that parses which functions call C # functions?

For a large port from VB6 to C #, I wrote a tool that uses regular expression killing to analyze the VB6 code base and extract the dependencies of all functions in all forms, base files and classes.

This allowed us to cut blocks of code for developers, generate graphs, and extract all SQL.

I could really use something that does the same for C #, and although it would be a lot easier for C #, I don't have the time or budget to write it.

We are limited to VS2008

Does something like this already exist?

+4
source share
3 answers

I'm not sure, but I think NDepend has this. If not, writing it yourself should be fairly simple using Roslyn or NRefactory

0
source

If you look at the Roslyn project page, you will find an example that will show you about 70% of what you are trying to achieve.

Walkthrough: Getting Started with Semantic Analysis - C #

0
source

It seems you are doing some kind of refactoring. I found ReSharper most useful in this case http://www.jetbrains.com/resharper/

0
source

All Articles