[ResxSourceGenerator] Add a /// <summary />
comment to public and internal generated members
#7479
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[ResxSourceGenerator] Add a
/// <summary />
comment to public and internal generated membersSee #7478
Analyzer
Microsoft.CodeAnalysis.ResxSourceGenerator
Describe the improvement
Add a
/// <summary />
comment to public and internals generated members (classes and methods).Example:
Describe suggestions on how to achieve the rule
I use this csproj configuration containing the
<Public>
flag to generate a public class.My
editorconfig
rules require all public classes/methods to contain XML documentation.So I get the following error “CS1592 Missing XML comment for publicly visible type or member ‘LanguageResource’”.
I can't add an exclusion to this file because it's not generated in my source folders (but in a temporary folder).
Unit Tests
All unit tests are updated to include these new
<summary />
comments.