The .NET Compiler Platform (code-name Roslyn) is an open source project which includes new C# and VB compilers that will ship with .NET 2015. The compilers have been re-designed from the ground up to expose their internal logic as public APIs. Previous versions functioned as “black boxes” to generate assemblies from source code. If you wanted to extend the language with analysis tools like StyleCop, IntelliSense, or ReSharper you needed to re-invent a lot of the same logic. Now, such tools (including Visual Studio itself!) can be built on top of the same APIs as the compiler.
In this session, you’ll learn through code samples how to use the new C# compiler APIs to effortlessly create an interactive scripting console, analyze the semantic structure of your code, and extend the Visual Studio IDE.