Source generators should annotate generated types/members with [GeneratedCode]
#15611
Labels
area-infrastructure
Issues related to CI/tooling infrastructur
enhancement
help-wanted
A contribution from the community would be most welcome.
Is your feature request related to a problem? Please describe.
There is a use case in HotAvalonia where fetching fields associated with the
AvaloniaNameSourceGenerator
would have been more straightforward. Instead, an approach using bytecode analysis was necessary.Describe the solution you'd like
Types/members generated by code should be annotated with
[GeneratedCode]
, which is common convention. Definitely forAvaloniaNameSourceGenerator
, but maybe also for the variousDevGenerators
?Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: