Bug Report Q152115
Visible to All Users

Code Issues - Redundant field initialization is suggested wrong

created 16 years ago

It is suggesting that the following line is using a redundant initialization. This one will not go away even after saving and closing the file.

I hope that the screen shots are making it through, if not please let me know. They are important in the demonstration of the error.
I am using the latest build of 9.2.3.
Visual Studio 2008 SP1
Windows XP SP3
Brian DeJong

Comments (2)
Serge (DevExpress Support) 16 years ago

    As suggested in another error that I submitted I went ahead and deleted the cache folders and the error went away. Below is the post asking to do this for another error. Is there an easier way to do this? Is there a menu item to force the re-check of a file in case these get corrupted? We are evaluating CodeRush for our department and items like this are starting to cause concern among the team members that are evaluating the product.
    "BTW, the problem might be related to our cache files, so I suggest that you try to delete them, and check if this makes any difference. You should remove the following folders:
    %AppData%\CodeRush for VS .NET\1.1\AssemblyCache
    %AppData%\CodeRush for VS .NET\1.1\SolutionCache
    Please keep us informed on your progress."
    Brian DeJong

    Serge (DevExpress Support) 16 years ago

      Hi Brian,
      You're quire right in your assumption that clearing the cache may help resolve this problem. By default, CodeRush provides a "Clear Project Cache" action. To simplify the process, you can define a custom shortcut linked to this action. Follow these steps to get to the Shortcuts options page:

      1. From the DevExpress menu, select "Options…".
      2. In the tree view on the left, navigate to this folder:
            IDE
      3. Select the "Shortcuts" options page.
        Does the problem disappear after clearing the project's cache?
        Thanks,
        Serge

      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.