diff --git a/src/Meziantou.Analyzer/Rules/NamedParameterAnalyzer.cs b/src/Meziantou.Analyzer/Rules/NamedParameterAnalyzer.cs index 7972e90ce..622db1871 100644 --- a/src/Meziantou.Analyzer/Rules/NamedParameterAnalyzer.cs +++ b/src/Meziantou.Analyzer/Rules/NamedParameterAnalyzer.cs @@ -180,6 +180,7 @@ bool IsParams(SyntaxNode node) invokedMethodSymbol.Name.StartsWith("Add", StringComparison.Ordinal) || invokedMethodSymbol.Name.StartsWith("Remove", StringComparison.Ordinal) || invokedMethodSymbol.Name.StartsWith("Contains", StringComparison.Ordinal) || + invokedMethodSymbol.Name.StartsWith("With", StringComparison.Ordinal) || invokedMethodSymbol.Name == "IndexOf" || invokedMethodSymbol.Name == "IndexOfAny" || invokedMethodSymbol.Name == "LastIndexOf" ||