FxCop and Visual Studio's Code Analysis are very nice tools but I'd like to perform my own static code analysis.
I am looking for apis/frameworks/... to programmatically inspect our .NET projects.
I'd like to write code able to do things like :
- list methods which instantiate an object of class x
- find methods containing a variable named x
- list the callees of methods x
- ...
Just to be clear I am not looking for an existing tool such as FXCop but I am rather looking for some kind of api allowing me to perform whatever kind of static analysis I fancy.