Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source generators should annotate generated types/members with [GeneratedCode] #15611

Closed
stevemonaco opened this issue May 4, 2024 · 0 comments · Fixed by #15616
Closed

Source generators should annotate generated types/members with [GeneratedCode] #15611

stevemonaco opened this issue May 4, 2024 · 0 comments · Fixed by #15616
Labels
area-infrastructure Issues related to CI/tooling infrastructur enhancement help-wanted A contribution from the community would be most welcome.

Comments

@stevemonaco
Copy link
Contributor

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 for AvaloniaNameSourceGenerator, but maybe also for the various DevGenerators?

Describe alternatives you've considered

No response

Additional context

No response

@maxkatz6 maxkatz6 added help-wanted A contribution from the community would be most welcome. area-infrastructure Issues related to CI/tooling infrastructur labels May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Issues related to CI/tooling infrastructur enhancement help-wanted A contribution from the community would be most welcome.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants