Description
The rule says values is ignored in the method though its Contains method is used as delegate in the Any clause.
Reproducer
string[] MyMethod(string[] values)
=> _memberItems.Where(f => f.Filters.DispFilters.Any(values.Contains) && !f.RequiredElement())
Product and Version
SonarQube Server (can't find the installed version -- why not add an about page)
Description
The rule says
valuesis ignored in the method though itsContainsmethod is used as delegate in theAnyclause.Reproducer
Product and Version
SonarQube Server (can't find the installed version -- why not add an about page)