"Optimize usings" deletes using statements that are visible only because of applied InternalsVisibleTo attribute.
Steps to Reproduce:
1. Open attached sample
2. Open Class2 in project2
3. Run "Optimize usings" for Class2
"using Xxx;" statement is deleted
no using statement is deleted
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.