Collections.Analyzer
0.2.14
dotnet add package Collections.Analyzer --version 0.2.14
NuGet\Install-Package Collections.Analyzer -Version 0.2.14
<PackageReference Include="Collections.Analyzer" Version="0.2.14"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Collections.Analyzer" Version="0.2.14" />
<PackageReference Include="Collections.Analyzer"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Collections.Analyzer --version 0.2.14
#r "nuget: Collections.Analyzer, 0.2.14"
#:package Collections.Analyzer@0.2.14
#addin nuget:?package=Collections.Analyzer&version=0.2.14
#tool nuget:?package=Collections.Analyzer&version=0.2.14
Collections.Analyzer is a set of roslyn-based diagnostics for C#-projects that detect potential problems with operating different collections.
Motivation
For more information, see the following articles:
Features
Compiler warnings
Analyze your C#-code and warn about redundant method calls.

Code fixes
Automatically fixes found problems.

Diagnostics
Installation
Every analyzer can be installed as a usual nuget-package. Just add a package reference to a project:
<PackageReference Include="Collections.Analyzer" Version="0.2.12.1" />
The analyzer will work only in the project it was added to. If you want to analyse all projects in your solution, you
can add file Directory.build.props to the solution directory with content:
<Project>
<ItemGroup>
<PackageReference Include="Collections.Analyzer" Version="0.2.12.1" />
</ItemGroup>
</Project>
MSBuild will read these properties.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.Common (>= 4.13.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.13.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.14 | 53 | 1/7/2026 |
| 0.2.13 | 125 | 12/13/2025 |
| 0.2.12.1 | 250 | 5/18/2025 |
| 0.2.12 | 232 | 5/8/2025 |
| 0.2.11 | 461 | 1/6/2024 |
| 0.2.10 | 335 | 8/6/2023 |
| 0.2.9 | 362 | 8/3/2023 |
| 0.2.8.1 | 443 | 1/13/2023 |
| 0.2.7.1 | 408 | 1/4/2023 |
| 0.2.7 | 405 | 1/4/2023 |
| 0.2.6 | 2,051 | 11/5/2022 |
| 0.2.5.2 | 6,117 | 9/28/2022 |
| 0.2.4 | 549 | 7/17/2022 |
| 0.2.3.1 | 532 | 7/17/2022 |
| 0.2.3 | 532 | 7/9/2022 |
| 0.2.2 | 435 | 1/8/2022 |
| 0.2.1 | 413 | 1/8/2022 |
| 0.2.0 | 429 | 11/5/2021 |
| 0.1.9 | 429 | 11/5/2021 |