Design and Implement a New C# Language Feature

In this chapter, we will cover the following recipes:

  • Designing syntax and grammar for a new C# language feature
  • Implementing parser support for a new C# language feature
  • Implementing binding/semantic analysis support for a new C# language feature
  • Implementing lowering/code generation support for a new C# language feature
  • Writing unit tests for C# parsing, binding, and codegen phases

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.