Roslyn
Roslyn, the Microsoft .NET compiler platform, is a set of open-source tools that provides compilers and code analysis APIs for C# and Visual Basic. It enables developers to analyze, modify, and generate code within editors, IDEs, and other tooling.
Roslyn exposes compiler services as libraries, allowing you to parse source code into syntax trees, inspect
A key design goal is to enable compiler-as-a-service: tools can build custom analyzers, refactorings, code generators,
In practice, Roslyn is used by Visual Studio to provide IntelliSense, syntax checking, and refactoring. It also
History and status: Microsoft announced Roslyn to create a shared, open-source compiler platform. The project was