In the last post related to Roslyn we developed a very basic syntax walker. In this post we will see how we can use the same for code analysis and checking. As a good practice we generally try to avoid having instance members in a singleton class. This is true if you are making your [...]
Archive for November 20, 2011
Roslyn CTP–Syntax Tree–Part II–Singleton Checker
Posted: November 20, 2011 in .NET, C#Tags: C#, Roslyn CTP
1
Roslyn CTP–A Walk Through The Syntax Tree–Part I
Posted: November 20, 2011 in .NET, C#Tags: C#, Roslyn, Syntax API
The Roslyn project aims to expose the functionalities of C#/VB complier as API/Services. The Roslyn CTP was released this October.One of the important components of Roslyn is the Compiler API. This exposes an object model which provides access to information generated at the different stages of compilation.The first phase of any compilation process involves parsing [...]

