Query module ChainedIs

name
Chain of ‘is’ tests
description
Long sequences of type tests on a variable are generally an indication of questionable design. They are hard to maintain and can cause performance problems.
kind
problem
problem.severity
recommendation
precision
high
id
cs/chained-type-tests
tags
changeability maintainability language-features

Imports

csharp

The default C# QL library.

Predicates