I got a C# application with Visual Studio 2005. The code has some 300KLOC code, which has been raped over 3 years.
When I was going through code found out that lot of unused functions/methods/properties. Its not possible to clean the code manually (Requires checking each member and if found no references delete it.)
I am looking to automate this process, by VS macro, which will walk through each member in code, if it does not have any references it should delete it, if found any references, check its calling member's references if calling member, does not have any reference it should delete both and so on.
I am sure some one would have cracked it earlier.