In one of our C# projects, each method should have auditing around it. We have an auditing class that we use for performing audits, but what I’m wondering, if is anyone knows a way that I can search all public methods of a specific project and alert on any method that does not have at least one call to the auditing class.
Any things on how I can do this?
Take a look at NDepend.com. With this cool tool such code queries are possible!!
The query should be something like