关于[C# 9: Partial Method Enhancements for Source Generators]的摘要:
Source Generators in C# 9 will allow compiler-extensions to inspect code and then inject additional source code at compile-time. This injected code is then incorporated into the very same assembly that was being compiled. In order to facilitate this capability, Microsoft is removing most of the restrictions on Partial Methods.
原文地址: https://www.infoq.com/news/2020/06/CSharp-9-Partial-Methods/