Query module ErroneousClassCompare

name
Erroneous class compare
description
Finds checks of an object’s type based on its class name
kind
problem
problem.severity
warning
precision
medium
id
cs/class-name-comparison
tags
reliability correctness external/cwe/cwe-486

Imports

ComparisonTest

Provides classes for capturing various ways of performing comparison tests.

System

Provides definitions related to the namespace System.

csharp

The default C# CodeQL library.

Predicates

Classes