ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: Duplicated switch section bodies

Last modified: 08 November 2024

This inspection reports cases of a switch that contain the same statements. ReSharper suggests merging such cases to improve readability and maintainability of the code.