Current filter:
                                You should refresh the page.
                                0
                                  • Hello:

                                    I the latest version of CodeRush/Reafctor I am seeing lots of Code Issues that were not present in previous versions and are not being reported correctly.

                                    I have attached a zip file with several snapshots were you can see the problem.

                                    1. Snapshot 1 shows a method which is declared as protected (not virtual) in a class 2 levels up the heirarchy.
                                    2. Snapshot 2 shows a public property (Oid - not virtual) in a class 3 levels up the heirarchy.
                                    3. Snapshot 2 also shows a virtual protected method (2 levels up the heirarchy) that is being reported incorrectly.
                                    4. Snapshot 3 shows the progress of the project analysis has completed.
                                    5. Finally snapshot 4 shows the settings I am using: Solution wide and Designer files.

                                    I take it these issues are not being reported correctly.

                                    Regards,
                                    Martin.

                                CodeRush_9.2.6.zip
                                0

                                Hi Martin,

                                Thank you for the report, and for the screenshots you provided.

                                I see the problem in your pictures, but, unfortunately, I'm unable to reproduce it locally. Attached is my test project. Can you please let us know how we should modify it to see the issue in action, or post here your own sample, illustrating it?

                                I also recommend that you delete our cache files, and check if this makes any difference. As a rule, this helps in such situations. Please do the following:

                                1) Close the IDE.
                                2) Delete the following folder:

                                %AppData%\CodeRush for VS .NET\1.1\AssemblyCache
                                %AppData%\CodeRush for VS .NET\1.1\SolutionCache

                                3) Restart the IDE, load a problematic project, and check whether the problem still exists.

                                Thanks,
                                Vito

                                DXSample.zip
                                0

                                Vito:

                                Thanks for the answer, the only thing is I'm not sure if has worked or not!

                                I followed your instructions, and the erroneous Code Issues went away. But... I'm not sure if the solution has refreshed its scan. Please see the attached image. Is this telling me the solution has not been rescanned, and that is why I have no issues? Or is this correct and the project is really up-to-date?

                                Thanks,
                                Martin.

                                CodeRush_9.2.6.png
                                0

                                BTW, I have left the project open in the IDE while I went to lunch, so it should have had plent of time to do whatever it was meant to do!

                                0

                                Hi Martin,

                                Thank you for the response, and for providing a new screenshot.

                                I've reproduced this problem locally, and we'll examine why this happens. Please give us some time.

                                However, even though the process is set to 0%, it looks as if the solution is checked fine (at least on our side). So, the issue seems to be related to the "Summary" window only.

                                Thanks,
                                Vito

                                0

                                Vito:

                                Yes, you are correct, the project really *is* verified, it's just the Summary window.

                                This is not an important issue, so for my part it can be incorporated in a future build. No hot fix is necessary.

                                Regards,
                                Martin.

                                0

                                Hi Martin,

                                Thank you for the response.

                                In fact, the "Solution wide analysis" feature is currently in alpha, and so, it can work incorrectly in certain cases. Thank you for drawing our attention to this problem. We'll certainly do our best to fix it in the future updates.

                                Thanks,
                                Vito

                                You must  log in  or  register  to leave an answer

                                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.