Question

It seems that Roslyn provides new APIs to expose many compiler internal data structure for code analysis, etc. And the C# and VB compiler has been rewritten for such purpose. So can I access the compiler source besides the new APIs?

Was it helpful?

Solution

Disclaimer: I work for Microsoft on the Roslyn team.

Source code for the compilers is not included in the Roslyn CTP. Releasing source is something that we are considering, but don't have any firm plans at the moment.

OTHER TIPS

Roslyn has gone fully open source since April 3, 2014. The compiler source code is now available. http://roslyn.codeplex.com/

The C# and VB compilers are being rewritten in C# and VB, respectively.

However, the source for the compilers has not yet been released.
Hopefully, the source will be released in the framework source drop for an upcoming version of .Net.

You can see the compilers in ILSpy.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top