-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[SG] Decorate generated types with [Generated] #30903
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds the [GeneratedCode] attribute to mark generated partial classes as generated code in XAML source generation. This ensures that 100% generated types (like XAML-only resource dictionaries) are properly decorated to exclude them from documentation generation and code analysis.
- Adds
[GeneratedCode]attribute to generated partial classes when a default constructor is being generated - Uses Microsoft.Maui.Controls.SourceGen as the tool name with version 1.0.0.0
|
/backport to 10.0.1xx-preview7 |
|
Started backporting to 10.0.1xx-preview7: https://github.com/dotnet/maui/actions/runs/16597440913 |
|
@jfversluis an error occurred while backporting to "10.0.1xx-preview7", please check the run log for details! The process '/usr/bin/git' failed with exit code 1 |
|
Started backporting to 10.0.1xx-preview7: https://github.com/dotnet/maui/actions/runs/16597440913 |
|
@jfversluis an error occurred while backporting to "10.0.1xx-preview7", please check the run log for details! The process '/usr/bin/git' failed with exit code 1 |
|
/backport to release/10.0.1xx-preview7 |
|
Started backporting to release/10.0.1xx-preview7: https://github.com/dotnet/maui/actions/runs/16597591472 |
Description of Change
some types are 100% generated (for xaml-only resourcedictionaries). They should cause documentation to be generated, so mark them as [Generated]
Issues Fixed