There have been some updates to the Roslyn APIs since the second CTP was released in June of 2012. Below is a summary of some of the most important changes, some of which are breaking.
SyntaxTree.ParseCompilationUnit has been removed. Use ParseText or ParseFile instead.
SyntaxNode.GetText and SyntaxNode.GetFullText have been replaced with ToString and ToFullString respectively.
Elastic SyntaxTrivia has been removed. Elasticity is now represented with an Elastic SyntaxAnnotation on the trivia.
AssemblyNameReference, AssemblyFileReference, and AssemblyObjectReference have been removed and replaced with a family of classes derived from a new abstract class, MetadataReference. Use the MetadataReference.CreateAssemblyReference factory method or the
constructors of the MetadataReference derived types to create references.
CompilationOptions.Default has been removed. Use the CompilationOptions constructors instead.
The Control Flow Analysis API has been changed to reflect region entry and exit points instead of TextSpan start and end points. The JumpsIntoRegion and JumpsOutOfRegion collection properties have been removed and replaced with EntryPoints and ExitPoints
Several APIs have been relocated from the Editor Services layer to the Services layer. Note that this change necessitated several changes to the APIs themselves to remove dependencies on the Visual Studio editor.
Completion (i.e. completion lists)
Editor Services APIs
Several APIs have been relocated from the Editor Services layer to the Services layer. See the Services API changes for details.
No Visual Basic Interactive Support
The Interactive window is only available in C# at this time. Visual Basic support will be added in a future release.
Unimplemented Language Features
The Roslyn CTP is intended as a preview of the public APIs that will be exposed by the compilers and language services. The full C# 4 and Visual Basic 10 languages are supported by the parser, but there are several language features that are not yet completely
implemented in the current Roslyn compilers.
The set of Known Limitations and Unimplemented Language Features can be found
You can uninstall the Roslyn CTP by clicking the Windows start menu and choosing Control Panel -> Programs -> Uninstall a program. In the list of installed programs, click on
Microsoft "Roslyn" CTP and choose Uninstall.