Roslyn: The .NET Compiler Platform
Roslyn is the .NET Compiler Platform: the open-source compiler for C# and Visual Basic that exposes its own internals, syntax trees, semantic models, and diagnostic pipeline, as an API rather than a black box. That exposure is what makes source generators, analyzers, and code fix providers possible in the first place.
The articles in this collection cover Roslyn from the perspective of people building on it: incremental source generator pipelines, custom analyzer rules, MSBuild integration for multi-targeted analyzer packages, and the pitfalls that only show up once you multi-target several Roslyn API versions or share tooling across Visual Studio’s MEF composition.

My Analyzer Shipped Without Checking Its Own Source

Packaging Generators

Prove the Cache Hits

Pipeline Patterns
