The Core of .NET

H20 Building Packages and Tools Using the Compiler API

07/30/2026

3:15pm - 4:30pm

Level: Intermediate

Jason Bock

MVP (C#)

Staff Software Engineer

Rocket Mortgage

Since 2015, the C# compiler has been implemented in C# itself. The compilation infrastructure, which is composed of numerous tools and packages, is called the Compiler API. The API is open for any developer to use to build powerful packages and tools to refine and enhance applications. In this session, I'll cover a number of areas where you can use the Compiler API to review your code and suggest improvements or produce code at compile-time to make your code better in so many different ways.

You will learn:

  • Gain insight into the Compiler API
  • See how developers can build packages and tools using the Compiler API
  • Where the Compiler API adds value to your code