Empty Do...While Block
Identifies empty 'Do...Loop While' blocks that can be safely removed.
NEW! This inspection is only available in pre-release builds.
Reasoning
Dead code should be removed. A loop without a body is usually redundant.
Default severity
Suggestion
Inspection type
NamingAndConventionsIssues
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.EmptyDoWhileBlockInspection.cs (Prerelease-v2.5.2.6174)