/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

BUG: Renaming of enums

Last post 07-08-2008, 12:35 AM by Serge B.. 1 replies.
Sort Posts: Previous Next
  •  06-27-2008, 12:10 PM 577

    BUG: Renaming of enums

    I've just been puzzling over a bug in my code which turns out to have been caused by CodeIt.Right

    I had an enum as follows

     

    public enum ActionType

    {

       IR_CODE = 1,

       BUTTON_ALIAS = 2

    }

     There was more of it but that gives you the idea.

     CodeIt.Right quite rightly complained about the case of these enum values - I chose to correct them - but didn't check the results since I'd had no problems with earlier corrections of the same type.

     

    Unfortunately, CodeIt.Right changed the enum values to

     public enum ActionType

    {

       IRCode,

       ButtonAlias

    }

    completely dropping the "= 1" .

    This is clearly not correct behaviour.

  •  07-08-2008, 12:35 AM 582 in reply to 577

    Re: BUG: Renaming of enums

    Thank you for reporting this.

    This issue was fixed in v1.1 - we have private Beta build of that version and I will email you download link for it.


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML