At Build 2014 day 2 keynote, Microsoft shared a number of new innovations for .NET developers. They announced the preview of the .NET Compiler Platform codenamed Roslyn. It provides open-source C# and Visual Basic compilers with rich code analysis APIs. You can build code analysis tools with the same APIs that Microsoft is using to implement Visual Studio. This is also available as open source, enabling new scenarios for .NET and Visual Studio developers. What is Roslyn? Traditionally, compilers are black boxes — source code goes in one end, magic happens in the middle, and object files or assemblies come out the other end. As compilers perform their magic, they build up deep understanding of the code they are processing, but that knowledge is unavailable to anyone but the compiler implementation wizards. The information is promptly forgotten after the translated output is produced. For decades, this world view has served ...

Read More →