Visualizing Roslyn Syntax Trees

Hello everyone! I hope you had a chance to catch the recent announcements around the .NET Compiler Platform (“Roslyn”). If not, I encourage you to view Anders’s presentation at Build 2014 (skip to 1:10:28). If you haven’t already, download the previews and take them for a spin! What’s included? The Roslyn compiler codebase is now… Read more

Roslyn Syntax Visualizers

Hi All! A few weeks ago, we announced the Microsoft “Roslyn” CTP. I hope many of you have had a chance to download the CTP and take it for a spin 🙂 If you haven’t, do give it a try. To recap – in the Roslyn CTP, we are previewing a powerful set of language… Read more

Removing duplicate namespaces in XML Literals (Shyam Namboodiripad)

A common problem that one often runs into with XML literals and the LINQ to XML API is duplicate XML namespaces. Consider the following example. The code imports a default XML namespace – “hello”. Code: Imports <xmlns=“hello“> Module Module1     Sub Main()         Dim x = <A>                     <%= <B></B> %>                 </A>         Console.WriteLine(“x:”)… Read more