.NET Compiler Platform (Roslyn)
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs. observed · 2026-10-12
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4301
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
20723 stars · 4345 forks observed · 2026-10-12
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.99
Roslyn is the open‑source .NET Compiler Platform that provides C# and Visual Basic compilers with rich code‑analysis APIs. It enables developers to build IDE features, analyzers, refactorings, and source generators on top of the compiler model.
Use cases
- build custom code analyzers for C# projects
- create refactoring tools that integrate with Visual Studio
- generate source code at compile time using source generators
- implement IntelliSense-like features in an editor
- perform static analysis and enforce coding standards
When to choose
- you need deep access to the C# or VB syntax and semantic model
- you are building tooling that runs inside the .NET ecosystem
- you want to write source generators or analyzers that integrate with the compiler
When to avoid
- your project targets languages other than C# or Visual Basic
- you need a lightweight parser without full compiler semantics
- you are working outside the .NET runtime
Facets
library · maturity active
parser api-framework programming-languages developer-tools dotnet windows cross-platform csharp visual-basic compiler roslyn code-analysis ide-integration code-generation linux macos
3 sources
- readme: https://github.com/dotnet/roslyn · fetched 2026-10-12 · 1fc51d5edd12
- homepage: https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/ · fetched 2026-10-05 · b1033b4a152d
- site_page: https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge · fetched 2026-10-05 · c363b2f43d4b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/roslyn | main | 67 |
| dotnet/roslyn-analyzers | plugin | 78 |
| dotnet/roslyn-sdk | sdk | 10 |
| dotnet/roslyn-api-docs | docs | 74 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem