PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
-
Updated
Dec 6, 2025 - C#
PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators
Alloc-free and fast replacement for Linq, with code generation
Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
The ultimate fast alternative to Activator.CreateInstance<T> / new T()
Keyset/Seek/Cursor pagination for Entity Framework Core.
A small front-end framework for Unity's UIToolkit powered by code generation.
AsyncFixer: Async/Await Analyzers and Code Fixes
Roslyn analyzers that aim to help security audit on .NET applications.
Roslyn analyzers for xUnit.net (please open issues in https://github.com/xunit/xunit)
A source code generator for automatically implementing IEquatable<T> using only attributes.
Transform your codebase into an intelligent knowledge base for AI-powered development with Cursor IDE, Google AntiGravity, and MCP-enabled assistants
Roslyn analyzers for writing unit tests with NUnit
Lightweight fork of the .NET Compiler Platform ("Roslyn") by adding a compiler plugin infrastructure
Building unbreakable modular monoliths in .NET. Ensuring that the last feature you build is just as easy to ship as the first.
C# Analyzer Adding Exhaustive Checking of Switch Statements and Expressions
Your codebase - is your Knowledge Graph
A Roslyn-based C# analyzer that detects exception handling patterns in your code
C# immutable records generator
Durian is a collection of Roslyn-based analyzers and source generators that extend the default capabilities of C#.
Add a description, image, and links to the roslyn-analyzer topic page so that developers can more easily learn about it.
To associate your repository with the roslyn-analyzer topic, visit your repo's landing page and select "manage topics."