MindTouch .NET Magic Night #2: Roslyn Compiler

Originally published September 13, 2016 by MindTouch and Yuri Gorokhov.

On September 13th, 2016, MindTouch hosted the second .NET Magic Night at their new offices downtown San Diego. MagicNight is a hackathon-like, hands-on experience, where a challenge related to a particular topic is presented, and attendees team up to solve the challenge.

For this Magic Night, we explored the Roslyn compiler framework. The goal of the challenge was to validate format parameters as they are passed to a custom function such as Console.WriteLine at compile time.

The challenge and a solution are posted here: https://github.com/DotNetMagicNight/MagicNightRoslyn.