Microsoft.CodeAnalysis.Analyzers 5.6.0

Microsoft.CodeAnalysis.Analyzers

Contains rules for correct usage of APIs from the Microsoft.CodeAnalysis NuGet package, i.e. .NET Compiler Platform ("Roslyn") APIs. These are primarily aimed towards helping authors of diagnostic analyzers, code fix providers and other tools built on top of Microsoft.CodeAnalysis to invoke the Microsoft.CodeAnalysis APIs in a recommended manner. This package is included as a development dependency of Microsoft.CodeAnalysis NuGet package, and does not need to be installed separately if you are referencing Microsoft.CodeAnalysis NuGet package.

More info about rules in this package

Showing the top 20 packages that depend on Microsoft.CodeAnalysis.Analyzers.

Packages Downloads
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6a5a63bbc9f4449d9bd1e95a8f9624939c3ccdc3.
1,247
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/260d16a8ee0ab42d94d8dfdfe85a1279c85dcffd.
1,084
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/e091728607ca0fc9efca55ccfb3e59259c6b5a0a.
843
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
630
Microsoft.CodeAnalysis.Workspaces.MSBuild
.NET Compiler Platform ("Roslyn") support for analyzing MSBuild projects and solutions. This should be used with at least one of the following packages to add the appropriate language support: - Microsoft.CodeAnalysis.CSharp.Workspaces - Microsoft.CodeAnalysis.VisualBasic.Workspaces More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
626
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
624
Microsoft.CodeAnalysis.CSharp.Workspaces
.NET Compiler Platform ("Roslyn") support for analyzing C# projects and solutions. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
617
Microsoft.CodeAnalysis.Workspaces.Common
A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing projects and solutions. Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
615
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b.
597
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b.
595
Microsoft.CodeAnalysis.VisualBasic
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/5e3a11e2e7f952da93f9d35bd63a2fa181c0608b.
75
Microsoft.CodeAnalysis.VisualBasic
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
68
Microsoft.CodeAnalysis.VisualBasic
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/cf82d399c36008e7936d545cde24141f8d3790fa.
57
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/e68227ea677b76a3c603bd616f03ea6d952b2458.
51
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/1ff281352c76f1a56ae8e49af9c4c4ef0e0f0f42.
49
Microsoft.CodeAnalysis.Features
.NET Compiler Platform ("Roslyn") support for creating editing experiences. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/5e3a11e2e7f952da93f9d35bd63a2fa181c0608b.
48
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/75e79dace86b274327a1afe479228d82a06051a4.
48
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/adb4347a172149b3ec18552da62e4da6fb2cf362.
47
Microsoft.CodeAnalysis.Features
.NET Compiler Platform ("Roslyn") support for creating editing experiences. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/bde21ee2b98b775b010d01a93f81ef587fe80962.
46
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/fa72fa61b0d822ea8a3fbeb96f668340419ab5cd.
46

This package has no dependencies.

Version Downloads Last updated
5.6.0 7 07/04/2026
5.3.0 43 03/11/2026
5.3.0-2.final 32 02/16/2026
5.3.0-2.25625.1 28 03/12/2026
5.0.0-1.25277.114 34 12/14/2025
4.14.0 21 12/13/2025
3.12.0-beta1.25218.8 35 12/21/2025
3.12.0-beta1.25155.1 30 12/14/2025
3.12.0-beta1.25081.1 27 12/21/2025
3.12.0-beta1.25076.4 26 12/17/2025
3.11.0 621 12/29/2025
3.11.0-beta1.26226.5 8 06/11/2026
3.11.0-beta1.26075.3 30 03/14/2026
3.11.0-beta1.26057.1 28 02/11/2026
3.11.0-beta1.25173.3 27 12/21/2025
3.11.0-beta1.25173.1 29 12/21/2025
3.11.0-beta1.25123.3 35 12/11/2025
3.11.0-beta1.25123.1 33 12/21/2025
3.11.0-beta1.25076.3 31 12/21/2025
3.11.0-beta1.25076.2 28 12/11/2025
3.11.0-beta1.25074.1 33 12/21/2025
3.11.0-beta1.24629.2 28 12/21/2025
3.11.0-beta1.24605.2 31 12/21/2025
3.11.0-beta1.24527.2 30 12/21/2025
3.11.0-beta1.24508.2 29 12/21/2025
3.11.0-beta1.24454.1 24 12/15/2025
3.11.0-beta1.24415.1 30 01/01/2026
3.11.0-beta1.24324.1 27 12/14/2025
3.11.0-beta1.24318.1 31 12/21/2025
3.11.0-beta1.24303.2 29 12/21/2025
3.11.0-beta1.24225.1 31 12/21/2025
3.11.0-beta1.24219.2 28 12/21/2025
3.11.0-beta1.24216.2 28 12/21/2025
3.11.0-beta1.24165.2 29 12/21/2025
3.11.0-beta1.24122.1 28 12/21/2025
3.11.0-beta1.24072.1 42 12/15/2025
3.11.0-beta1.23614.1 28 12/13/2025
3.11.0-beta1.23525.2 34 01/01/2026
3.11.0-beta1.23472.1 24 12/21/2025
3.11.0-beta1.23420.2 32 12/14/2025
3.11.0-beta1.23364.2 20 12/21/2025
3.3.5-beta1.23320.2 22 12/21/2025
3.3.5-beta1.23270.2 24 12/14/2025
3.3.5-beta1.23225.2 25 12/20/2025
3.3.5-beta1.23165.1 21 12/21/2025
3.3.5-beta1.23121.1 32 12/16/2025
3.3.5-beta1.23080.2 24 12/17/2025
3.3.4 824 01/01/2026
3.3.4-beta1.23354.4 23 12/21/2025
3.3.4-beta1.23267.1 24 12/16/2025
3.3.4-beta1.23160.1 27 12/21/2025
3.3.4-beta1.23061.1 26 12/21/2025
3.3.4-beta1.22559.1 31 12/20/2025
3.3.4-beta1.22518.1 26 12/21/2025
3.3.4-beta1.22514.1 21 12/21/2025
3.3.4-beta1.22464.1 28 12/21/2025
3.3.4-beta1.22452.2 32 12/21/2025
3.3.4-beta1.22403.2 26 12/21/2025
3.3.4-beta1.22362.3 26 12/15/2025
3.3.4-beta1.22361.3 31 12/16/2025
3.3.4-beta1.22310.1 20 12/15/2025
3.3.4-beta1.22274.2 22 12/21/2025
3.3.4-beta1.22217.1 21 12/21/2025
3.3.4-beta1.22168.1 25 12/21/2025
3.3.4-beta1.22116.1 31 12/16/2025
3.3.4-beta1.22068.2 32 12/21/2025
3.3.3 1,239 12/10/2025
3.3.2 29 01/01/2026
3.3.1 28 12/12/2025
3.3.0 25 01/01/2026
3.3.0-beta1.final 27 12/21/2025
3.0.0 25 12/13/2025
3.0.0-beta2.final 22 12/21/2025
3.0.0-beta2.20059.3 20 01/01/2026
2.9.8 22 12/29/2025
2.9.7 30 01/01/2026
2.9.6 27 01/01/2026
2.9.5 31 01/01/2026
2.9.5-beta1.final 34 12/21/2025
2.9.4 25 01/01/2026
2.9.4-beta1.final 31 12/21/2025
2.9.3 24 01/01/2026
2.9.2 28 01/01/2026
2.9.1 29 12/14/2025
2.9.0 28 12/29/2025
2.9.0-beta1.final 31 12/14/2025
2.6.3 25 12/31/2025
2.6.2 27 12/22/2025
2.6.2-beta2 23 12/16/2025
2.6.2-beta1 27 12/21/2025
2.6.1 23 01/01/2026
2.6.0 28 01/01/2026
2.6.0-beta2 34 12/21/2025
2.6.0-beta1 26 12/21/2025
2.3.0-beta1 25 12/21/2025
2.0.0-beta2 30 12/21/2025
2.0.0-beta1 25 12/21/2025
1.2.0-beta2 30 12/21/2025
1.2.0-beta1 26 12/21/2025
1.1.0 27 12/10/2025
1.1.0-beta1-20150812-01 24 12/19/2025
1.0.0 24 01/01/2026
1.0.0-rc3 28 12/20/2025
1.0.0-rc2 31 12/16/2025
1.0.0-rc1 26 12/13/2025