This can be done by enabling StyleCop rule SA1400 and fix all violations using StyleCop's CodeFix action)