Contribute Simple Functionality to Roslyn C# Compiler Open Source Code

In this chapter, we will cover the following recipes:

  • Setting up Roslyn enlistment
  • Implementing a new syntax error in the C# compiler code base
  • Implementing a new semantic error in the C# compiler code base
  • Writing unit tests for a new error in C# compiler code base
  • Using Roslyn Syntax Visualizer to view Roslyn syntax tokens and nodes for a source file
  • Sending a Roslyn Pull request to contribute to next version of C# compiler and VS IDE

Get Roslyn Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.