Skip to main content

Roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

Tools

Contributions

Contributions are welcome! See the developer docs, contributing with agent skills, and open issues.

tip

Agent skills in the roslynator repo provide step-by-step workflows for bug fixes and new rules — and you can read them as plain contributor docs. Bugfixes or small improvements can be implemented right away. Larger tasks, such as adding a new analyzer or refactoring, should be discussed first.

Donations

Special thanks to:

  • .NET on AWS Open Source Software Fund for donating $6000.00 USD ($500.00 for 12 months starting November 2024).
  • Microsoft for donating $1000.00 USD.
  • @IanKemp for donating $13.00 USD / month starting July 2021.
  • @Genbox for donating $5.00 USD / month starting October 2024.
  • Timo Nürnberg for donating $5.00 USD / month starting March 2025.

.NET Foundation

This project is supported by the .NET Foundation.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Command Line Tool

To install the CLI:

dotnet tool install -g roslynator.dotnet.cli

See the CLI documentation.

Testing Framework

.NET API

PackageVersionExtends
Roslynator.CoreNuGetMicrosoft.CodeAnalysis.Common
Roslynator.Workspaces.CoreNuGetMicrosoft.CodeAnalysis.Workspaces.Common
Roslynator.CSharpNuGetMicrosoft.CodeAnalysis.CSharp
Roslynator.CSharp.WorkspacesNuGetMicrosoft.CodeAnalysis.CSharp.Workspaces