Query module IncorrectCompareToSignature

name
Potentially incorrect CompareTo(…) signature
description
The declaring type of a method with signature ‘CompareTo(T)’ does not implement ‘IComparable’.
kind
problem
problem.severity
warning
precision
medium
id
cs/wrong-compareto-signature
tags
reliability maintainability

Imports

System

Provides definitions related to the namespace System.

csharp

The default C# QL library.

Predicates