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: Empty statement is redundant

Last modified: 11 February 2024

ReSharper detects empty statements ; that are used in a context where they are not necessary. An example of a redundant empty statement is an empty statement within a block. To improve code readability, ReSharper suggests removing redundant empty statements.