using statement marked as not used when it is used inside comment #26318
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Resolution-Duplicate
The described behavior is tracked in another issue
Milestone
While documenting a class, I added a triple-slash comment at its head and included a
<see cref="ModuleDeclarationBlock"/>
within it. This failed to autocomplete while typing and also didn't highlight correctly until the relevant using was added. However, the using statement added is greyed out and is removed if the "Remove and Sort Usings" option is used.I appreciate that the using statement is only required to satisfy the requirements of a comment and is not used in any code, but I think it should not be flagged as unused since it has an impact on the appearance and usability of the editor.
This issue has been moved from https://developercommunity.visualstudio.com/content/problem/232794/using-statement-marked-as-not-used-when-it-is.html
VSTS ticketId: 599160
These are the original issue comments:
(no comments)
These are the original issue solutions:
(no solutions)
The text was updated successfully, but these errors were encountered: