-
Notifications
You must be signed in to change notification settings - Fork 508
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
SA1600 fires for internal interfaces even if documentInternalElements is false #3888
Comments
This is by design, although not without problems. See https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/Configuration.md#documentation-requirements, specifically the description for
Note that although it says "interface members", this also applies to interfaces themselves. If you do not require documentation specifically for interfaces, then you can set Duplicate of #2934. This also links to a request to make SA1600 etc more configurable. |
I think that it makes a lot more sense to turn off this warning if |
It already doesn't warn on the internal interface member itself so it doesn't make sense to warn for class members that implement the interface explicitly. The internal interface member itself is fine: But classes that implement the internal interface member explicitly are warning: |
As described,
SA1600
fires warning for internal interfaces even ifdocumentInternalElements
option set tofalse
. Works correct for classes.My
stylecop.json
The text was updated successfully, but these errors were encountered: