Clean rubbish Autofac configurations? <p>Just wondering whether there is a good way to find out rubbish configurations in Autofac modules. I mean, while the project is growing bigger and bigger with lots of refactoring done, there could be some classes become unused but they are still registered in the module configurations. Those rubbish classes could get hidden from Reshaper because it is used in the configuration code. I just don't like to go through every line in the configuration code to find whether an interface or class is never used any more and delete them manually.</p> <p>Would be nice if there is good idea to find out all those rubbish automatically. Please throw in your brilliant thoughts. Thanks.</p>