-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
When XML doc generation is off, namespaces used by crefs are treated as unused #4034
Comments
We should probably disable reporting unused usings when we are not processing doc comments. |
Duplicate of #2773.
|
If removing the Currently this results in bouncing back and forth between ReSharper complaining that you should add the using for the XML documentation and Roslyn complaining that you should remove it. It's a bad user experience. If the only correct solution is truly to enable XML doc generation, then please stop suggesting removal of the using and start suggesting enabling XML documentation output. This may be a moonshot, but in an ideal world, I think I should be able to leave XML documentation output off and still have all the syntax checking as though it was on, minus the warning about publicly visible types missing comments. |
@gafter Thanks. Moved the comment. |
When XML doc generation is off, namespaces used by crefs are greyed out indicating that are they are unused:
I'm also offered to remove
using System
despite it actually being used by the cref.I'm not sure if this by design or not (or rather a fallout of how this was designed), but this seems incorrect, especially as the colorizer appears to be processing them (if we're not processing them, why we run the colorizer over them?).
The text was updated successfully, but these errors were encountered: