🆙 Improvement proposal
Make it possible to specify classes as partial.
Context
It is very common for source generators to expand on existing classes. In this case, the class definition must be marked as partial, but it would be cool if there was an easy pattern so an author could do something akin to:
ClassBuilder.ExtendPartialClass<MyPartialClass>()
.AddMethod(/* ... */)
🆙 Improvement proposal
Make it possible to specify classes as partial.
Context
It is very common for source generators to expand on existing classes. In this case, the class definition must be marked as partial, but it would be cool if there was an easy pattern so an author could do something akin to: