Bug Report T565305
Visible to All Users

Code Analysis - The Code Issues window shows duplicate entries for linked files

created 7 years ago

It appears that, if there are say 8 issues all-together within the project you've analyzed, but after filtering there is only one, you get the same issue listed 8 times, as the attached screenshot shows.

Show previous comments (3)

    Alex, the reason issues are being reported multiple times, is when there are linked files in play. In the example I've attached, I have linked Class1 from the Test Project to One2One.WCF project. Within this class there is a mispell of the word timezone, you will notice in the attached screenshot (contained within the zip folder) that this has been reported twice.

    May need to add a post process to filter out duplicate entries to prevent this scenario. I hope this better illustrates what I discovered during my recent usage of CodeRush with Roslyn.

    AE AE
    Alex Eg (DevExpress) 7 years ago

      Mark,
      Thank you for your research and providing the sample to reproduce. I can see the issue and we are working on it.

        Not a problem, glad I was able to clarify what caused this behaviour to occur.

        Answers approved by DevExpress Support

        created 7 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.