DotNet.SystemCollections.Analyzers
DotNet.SystemCollections.Analyzers copied to clipboard
SCA0009 - Only trigger an error notification to developers when Single/SingleOrDefault is invoke without a Func delegate
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.