关于[Creating an incremental generator: Creating a source generator - Part 1]的摘要:
In this post I describe how to create an incremental source generator. As a case study, I describe a source generator for generating an extension method for enums called ToStringFast(). This method is much faster than the built-in ToString() equivalent, and using a source generator means it's just as easy to use!
原文地址: https://andrewlock.net/creating-a-source-generator-part-1-creating-an-incremental-source-generator/