P&P Coders should use ReSharper

Sep 13, 2007 at 12:35 AM
Not wishing to be overly pedantic and critical, but using a tool like ReSharper it's painfully obvious that around half of the using statements in all the code for the Application Blocks are redundant (ie included by mistake)

For example the class IConfigurationNameMapper has 3 using statements, all of which are redundant.
Pick any class, and on average, about half the using statements are redundant.

Some are just the boring old System libraries which a lot of people would include by mistake but SystemConfigurationSource for example includes EnterpriseLibrary.Common.Configuration.ObjectBuilder redundantly. And so does StorageEncryptionProviderData.

Would anyone consider having a tidy up? Given the number of lines of code in all the Application Blocks you would have to guess that there are at least 1000 lines of redundant code.