Query module ConfusingOverridesNames

name
Confusing method names because of overriding
description
Finds methods m1 and m2, where m1 would override m2, except that their names differ in capitalization.
kind
problem
problem.severity
recommendation
precision
medium
id
cs/confusing-override-name
tags
reliability readability naming

Imports

csharp

The default C# QL library.

Predicates

confusing

For each class, find the pairs of methods that are candidates for being confusing in this class

hasSubtypeStar
methodNames

for each class, get all methods from this class or its superclasses, with their names in lowercase