Roslyn.Diagnostics.Analyzers 5.6.0

Prefix Reserved
dotnet add package Roslyn.Diagnostics.Analyzers --version 5.6.0
                    
NuGet\Install-Package Roslyn.Diagnostics.Analyzers -Version 5.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Roslyn.Diagnostics.Analyzers" Version="5.6.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Roslyn.Diagnostics.Analyzers" Version="5.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Roslyn.Diagnostics.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Roslyn.Diagnostics.Analyzers --version 5.6.0
                    
#r "nuget: Roslyn.Diagnostics.Analyzers, 5.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Roslyn.Diagnostics.Analyzers@5.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Roslyn.Diagnostics.Analyzers&version=5.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Roslyn.Diagnostics.Analyzers&version=5.6.0
                    
Install as a Cake Tool

Private analyzers specific to Roslyn repo. These analyzers are not intended for public consumptions outside of the Roslyn repo.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Roslyn.Diagnostics.Analyzers:

Package Downloads
Microsoft.Net.RoslynDiagnostics

Analyzers built using the .NET Compiler Platform (Roslyn) for Roslyn.sln.

GitHub repositories (10)

Showing the top 10 popular GitHub repositories that depend on Roslyn.Diagnostics.Analyzers:

Repository Stars
dotnet/pinvoke
A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
dotnet/project-system
The .NET Project System for Visual Studio
dotnet/roslyn-sdk
Roslyn-SDK templates and Syntax Visualizer
microsoft/accessibility-insights-windows
Accessibility Insights for Windows
drewnoakes/figgle
ASCII banner generation for .NET
microsoft/ApplicationInsights-aspnetcore
ASP.NET Core web applications monitoring
microsoft/axe-windows
Automated accessibility testing engine for Windows applications
jjonescz/DotNetLab
C# and Razor compiler playground in the browser via Blazor WebAssembly
X-Sharp/XSharpPublic
Public repository for the source code for the XSharp Compiler, Runtime, Project System and Tools.
Version Downloads Last Updated
5.6.0 2,141 7/2/2026
5.3.0 117 7/2/2026
5.0.0 130 7/2/2026
5.0.0-1.25277.114 46,803 6/6/2025
3.12.0-beta1.25218.8 1,704 5/13/2025
3.12.0-beta1.25155.1 471 4/10/2025
3.12.0-beta1.25081.1 302 3/18/2025
3.12.0-beta1.25076.4 9,022 2/25/2025
3.11.0-beta1.26226.5 143 6/9/2026
3.11.0-beta1.26075.3 534 3/10/2026
3.11.0-beta1.26057.1 161 2/10/2026
3.11.0-beta1.25173.3 17,596 5/13/2025
3.11.0-beta1.25173.1 385 5/13/2025
3.11.0-beta1.25123.3 5,039 4/8/2025
3.11.0-beta1.25123.1 317 4/8/2025
3.11.0-beta1.25076.3 3,716 3/11/2025
3.11.0-beta1.25076.2 327 3/11/2025
3.11.0-beta1.25074.1 332 3/11/2025
3.11.0-beta1.24629.2 6,260 2/11/2025
Loading failed