你的位置: 码友网首页 / 资讯源列表 / C# 9: Partial Method Enhancements for Source Generators

关于[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/

收录时间: 2020-06-09 浏览量: 2440 分类: C#开发

| 0 收藏 | 0