2 references to s_collectionAddMethodNameVariants
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
500
/// a. Method's name is from one of the well-known add method names from <see cref="
s_collectionAddMethodNameVariants
"/> ("Add", "AddOrUpdate", "GetOrAdd", "TryAdd", or "TryUpdate")
510
if (!
s_collectionAddMethodNameVariants
.Contains(method.Name) &&