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,248
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,085
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.
936
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.
722
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.
721
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.
717
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.
710
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.
707
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.
691
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.
687
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.
76
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.
69
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.
58
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.
54
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.
52
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.
52
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.
49
Microsoft.CodeAnalysis.VisualBasic.Workspaces
.NET Compiler Platform ("Roslyn") support for analyzing Visual Basic 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/dfa7fc6bdea31a858a402168384192b633c811fa.
48
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/fa72fa61b0d822ea8a3fbeb96f668340419ab5cd.
48

This package has no dependencies.

Version Downloads Last updated
5.6.0 10 07/04/2026
5.3.0 45 03/11/2026
5.3.0-2.final 33 02/16/2026
5.3.0-2.25625.1 29 03/12/2026
5.0.0-1.25277.114 35 12/14/2025
4.14.0 21 12/13/2025
3.12.0-beta1.25218.8 36 12/21/2025
3.12.0-beta1.25155.1 31 12/14/2025
3.12.0-beta1.25081.1 28 12/21/2025
3.12.0-beta1.25076.4 26 12/17/2025
3.11.0 714 12/29/2025
3.11.0-beta1.26226.5 10 06/11/2026
3.11.0-beta1.26075.3 31 03/14/2026
3.11.0-beta1.26057.1 29 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 34 12/21/2025
3.11.0-beta1.25076.3 32 12/21/2025
3.11.0-beta1.25076.2 29 12/11/2025
3.11.0-beta1.25074.1 34 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 30 12/21/2025
3.11.0-beta1.24454.1 24 12/15/2025
3.11.0-beta1.24415.1 31 01/01/2026
3.11.0-beta1.24324.1 28 12/14/2025
3.11.0-beta1.24318.1 32 12/21/2025
3.11.0-beta1.24303.2 30 12/21/2025
3.11.0-beta1.24225.1 32 12/21/2025
3.11.0-beta1.24219.2 29 12/21/2025
3.11.0-beta1.24216.2 29 12/21/2025
3.11.0-beta1.24165.2 30 12/21/2025
3.11.0-beta1.24122.1 29 12/21/2025
3.11.0-beta1.24072.1 43 12/15/2025
3.11.0-beta1.23614.1 29 12/13/2025
3.11.0-beta1.23525.2 34 01/01/2026
3.11.0-beta1.23472.1 25 12/21/2025
3.11.0-beta1.23420.2 33 12/14/2025
3.11.0-beta1.23364.2 20 12/21/2025
3.3.5-beta1.23320.2 23 12/21/2025
3.3.5-beta1.23270.2 25 12/14/2025
3.3.5-beta1.23225.2 25 12/20/2025
3.3.5-beta1.23165.1 22 12/21/2025
3.3.5-beta1.23121.1 33 12/16/2025
3.3.5-beta1.23080.2 25 12/17/2025
3.3.4 918 01/01/2026
3.3.4-beta1.23354.4 24 12/21/2025
3.3.4-beta1.23267.1 25 12/16/2025
3.3.4-beta1.23160.1 27 12/21/2025
3.3.4-beta1.23061.1 27 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 29 12/21/2025
3.3.4-beta1.22452.2 32 12/21/2025
3.3.4-beta1.22403.2 27 12/21/2025
3.3.4-beta1.22362.3 27 12/15/2025
3.3.4-beta1.22361.3 32 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 26 12/21/2025
3.3.4-beta1.22116.1 32 12/16/2025
3.3.4-beta1.22068.2 32 12/21/2025
3.3.3 1,240 12/10/2025
3.3.2 29 01/01/2026
3.3.1 29 12/12/2025
3.3.0 26 01/01/2026
3.3.0-beta1.final 27 12/21/2025
3.0.0 26 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 31 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 26 01/01/2026
2.9.4-beta1.final 32 12/21/2025
2.9.3 26 01/01/2026
2.9.2 29 01/01/2026
2.9.1 30 12/14/2025
2.9.0 28 12/29/2025
2.9.0-beta1.final 31 12/14/2025
2.6.3 28 12/31/2025
2.6.2 29 12/22/2025
2.6.2-beta2 23 12/16/2025
2.6.2-beta1 28 12/21/2025
2.6.1 23 01/01/2026
2.6.0 30 01/01/2026
2.6.0-beta2 35 12/21/2025
2.6.0-beta1 27 12/21/2025
2.3.0-beta1 25 12/21/2025
2.0.0-beta2 30 12/21/2025
2.0.0-beta1 26 12/21/2025
1.2.0-beta2 31 12/21/2025
1.2.0-beta1 26 12/21/2025
1.1.0 28 12/10/2025
1.1.0-beta1-20150812-01 25 12/19/2025
1.0.0 28 01/01/2026
1.0.0-rc3 29 12/20/2025
1.0.0-rc2 31 12/16/2025
1.0.0-rc1 28 12/13/2025