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

SA1623 warning displays when using <inheritdoc /> inside a summary tag #3465

Open
ericmschmidt opened this issue Feb 23, 2022 · 1 comment · May be fixed by #3880
Open

SA1623 warning displays when using <inheritdoc /> inside a summary tag #3465

ericmschmidt opened this issue Feb 23, 2022 · 1 comment · May be fixed by #3880
Labels

Comments

@ericmschmidt
Copy link

ericmschmidt commented Feb 23, 2022

We are trying to migrate towards using the inheritdoc tag for many of our properties/methods. For properties we've noticed that if we have inheritdoc inside a summary tag (to allow extending the summary), the SA1629 warning displays indicating that it must start with 'Gets or sets' (even though that is part of the base summary). I was wondering if it might be possible to update this rule to allow either starting with 'Gets or sets' or '<inheritdoc />'. Otherwise you basically have the 'Gets or sets ' string twice in the description.

@sharwell sharwell added the bug label Feb 23, 2022
@PSFW
Copy link

PSFW commented Aug 2, 2024

This is something that I am facing with the style rules too.

bjornhellander added a commit to bjornhellander/StyleCopAnalyzers that referenced this issue Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants