Using the Compiler API in Real-World Scenarios


With the Compiler API, .NET developers have the ability to use the wealth of information it provides on their code for inspection and modification. Knowing how to use the Compiler API can, however, may seem like a daunting task. In this session, I'll demonstrate a number of real-world examples that use the Compiler API to provide useful functionality and features via analyzers, refactorings, and .NET Core tools. You'll see how straightforward this API is, and you'll understand how to apply it in your own applications.


  • Jason Bock

    1 Recording
    Jason Bock is a Developer Advocate at Quicken Loans and a Microsoft MVP (C#). He has 25 years of experience working on a number of business applications using a diverse set of frameworks and languages. He is the author of ".NET Development Using the Compiler API", "Metaprogramming in .NET", and "Applied .NET Attributes". He has written numerous articles on software development issues and has presented at a number of conferences and user groups. He is a leader of the Twin Cities Code Camp ( Jason holds a Master's degree in Electrical Engineering from Marquette University. Visit his web site at

Recorded At:

Recorded on:

Oct 8, 2020

More Info: