I am curious to know how many static methods and static classes we have in our Visual Studio 2013 solution. We have lots of projects in there...
Is there anything built in to Visual Studio that can do this? I cant see anything in the Code Metrics window that countsthis.
I know I can use a Ctrl+F to search for static class (bit trickier using RegEx for static class). Also this is tricky for methods. So I get 350 or so static classes.
The only other thought I have on this is something like writing my own reflection based check.