Inspectopedia
 
2024.3

Overloaded methods with same number of parameters

Warning
New
Last modified: 03 December 2024

Reports methods that are declared in the same class, have the same name, and the same number of parameters. Such overloads cam be very confusing because it can be unclear which overload gets called.

Example:

Use the option to ignore overloaded methods whose parameter types are definitely incompatible.