Query module EmptyBlock

name
Empty branch of conditional, or empty loop body
description
Empty blocks that occur as a branch of a conditional or as a loop body may indicate badly-maintained code or a bug due to an unhandled case.
kind
problem
problem.severity
warning
precision
high
id
cs/empty-block
tags
reliability readability

Imports

csharp

The default C# QL library.

Predicates