Coding Shorts: Building a Source Generator - Part 2
Shawn Wildermuth Shawn Wildermuth
15.3K subscribers
2,870 views
0

 Published On Mar 9, 2023

Part 1:    • Coding Shorts: Building a Source Gene...  

My new live, online courses are coming in April and May:

ASP.NET Core: Building Sites and APIs
April 11-13th, 2023
https://shawnl.ink/aspnetcore-live

Building Apps with Vue, Vite and TypeScript
May 9-11th, 2023
https://shawnl.ink/vue-live

--------------------------------------------------------

In this second part of the coding short, I show you how to get some data out of the Syntax tree to build your own code. Let's look at it:

00:00 - Introduction
01:00 - Getting Started
01:41 - Reading the Type information
04:27 - Testing the Generator
05:55 - Emitting Warnings and Errors
09:20 - Debugging Source Generators (Hack!)
10:28 - Wrapping Up

Source Code: https://github.com/shawnwildermuth/co...

If you like this video, you might like other videos in my Instructional Videos:
-    • Instructional Videos  

You can hire me too! You can reach me at my new website:
- https://shawn.wildermuth.com

show more

Share/Embed