Query module DubiousTypeTestOfThis

name
Dubious type test of ‘this’
description
Testing whether ‘this’ is an instance of a derived type introduces a dependency cycle between the type of ‘this’ and the target type.
kind
problem
problem.severity
warning
precision
high
id
cs/type-test-of-this
tags
testability maintainability language-features

Imports

Assertions

Provides classes for assertions.

csharp

The default C# QL library.