DotNet.SystemCollections.Analyzers icon indicating copy to clipboard operation
DotNet.SystemCollections.Analyzers copied to clipboard

SCA0009 - Only trigger an error notification to developers when Single/SingleOrDefault is invoke without a Func delegate

Open Kavignon opened this issue 3 years ago • 0 comments

Currently, the analyzer is picking on the fact that ICollection instances are invoking Single/SingleOrDefault from System.Linq without checking whether or not there is a Func<TSource,bool> predicate associated with the invocation. This leads to false-positives picked up by the analyzer.

Kavignon avatar Mar 16 '21 18:03 Kavignon