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

csharproslynvisual-studiodotnet
Star 增长趋势
Star
3.5k
Forks
295
周增长
+3
Issues
196
1k2k3k
2016年5月2019年10月2023年3月2026年9月
README

Roslynator

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

Analyzers are not included in Roslynator IDE extensions. Use Roslynator NuGet packages (e.g. Roslynator.Analyzers) for diagnostics.

Tools

Documentation

Contributions

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

Agent skills in .claude/skills/ provide step-by-step workflows for Cursor and Claude Code (adding analyzers, refactorings, compiler fixes, and bug fixes). You can also read SKILL.md files directly as contributor guides. See CONTRIBUTING.md.

TIP: 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 for more information.

The CLI is also integrated in MegaLinter, an open-source linter aggregator for CI (see its Roslynator page).

Testing Framework

  • Use the testing framework to unit-test analyzers, refactorings, and code fixes.
  • See the testing documentation for more information.

Client Libraries

  • The client libraries extend Roslyn and are intended for building custom analyzers and refactorings.
  • These packages do not include analyzers or refactorings.
  • See the API reference.
Package Version Extends
Roslynator.Core NuGet Microsoft.CodeAnalysis.Common
Roslynator.Workspaces.Core NuGet Microsoft.CodeAnalysis.Workspaces.Common
Roslynator.CSharp NuGet Microsoft.CodeAnalysis.CSharp
Roslynator.CSharp.Workspaces NuGet Microsoft.CodeAnalysis.CSharp.Workspaces
相关仓库
jellyfin/jellyfin

The Free Software Media System - Server Backend & API

C#appGNU General Public License v2.0jellyfincsharp
jellyfin.org
56.8k5.4k
files-community/Files

A modern file manager that helps users organize their files and folders.

C#MIT Licensefluent-designxaml
files.community
44.9k2.9k
ShareX/ShareX

ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.

C#GNU General Public License v3.0screen-capturescreen-recorder
getsharex.com
39.5k3.9k
doocs/leetcode

🔥LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解

JavaMaveninterviewCreative Commons Attribution Share Alike 4.0 Internationalalgorithmscpp
leetcode.doocs.org
36.6k9.5k
DevToys-app/DevToys

A Swiss Army knife for developers.

C#appMIT Licensesyntax-highlightingdeveloper-tools
devtoys.app
32k1.7k
AvaloniaUI/Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI

C#libraryMIT Licensec-sharpxaml
avaloniaui.net
31.5k2.8k
microsoft/calculator

Windows Calculator: A simple yet powerful calculator that ships with Windows

C#appMIT Licenseuwpwindows
31k5.8k
BeyondDimension/SteamTools

🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。

C#appGNU General Public License v3.0steamcsharp
steampp.net
26.8k1.7k
k1tbyte/Wand-Enhancer

Advanced UX and interoperability extension for Wand (WeMod) app

C#appApache License 2.0wemodcsharp
gitlab.com/kitbyte/wand-enhancer
26k65.7k
pulumi/pulumi

Pulumi - Infrastructure as Code in any programming language 🚀

GoGo ModulesApache License 2.0infrastructure-as-codeserverless
pulumi.com
25.7k1.4k
mxgmn/WaveFunctionCollapse

Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics

C#Otherprocedural-generationmachine-learning
25.3k1.4k
quozd/awesome-dotnet

A collection of awesome .NET libraries, tools, frameworks and software

awesomeCreative Commons Zero v1.0 Universaldotnetawesome
21.6k2.9k