DotNet.SystemCollections.Analyzers
DotNet.SystemCollections.Analyzers copied to clipboard
A set of code analyzers & code fix providers to help developers use the proper .NET Collection & API in their algorithms
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 predicate associated with the invocation....
Right now, I see that there are _some_ benchmarks for the performance analyzers, but they don't seem to match 1:1 and are hard to find. (Also, apparently most of them...
Currently, [some of the benchmarks exist as HTML reports](https://github.com/hypertherm/DotNet.SystemCollections.Analyzers/tree/master/docs/benchmarks/HTML%20Reports), which GitHub sadly won't render inline. I haven't tried, but it sounds like setting `[MarkdownExporterAttribute.GitHub]` will output GitHub-flavored Markdown, which should...
The project should support as many .NET versions as possible. Adding multi-targetting to .NET Standard 2.0 gives us that ability.
Attempting to install the package in a .NET Core 3.1 application gives a "Package not found error": ``` > dotnet add package DotNet.SystemCollections.Analyzers Determining projects to restore... Writing C:\Users\daniel.becroft\AppData\Local\Temp\tmpA9FD.tmp info...