Serius bug in .net 3.5 sp1 (with VisualStudio 2008 Pro) RRS feed

  • General discussion

  • I would like to tell what steps should be done to reproduce the bug, before I tell it:
    Create a form. Name it what ever you like it to.
    Put a textbox, and name it "nameTextBox".
    No matter what you do, the following expression will be always true (in the form's code):

    this.Name == nameTextBox.Text
    Well this happend to me for the first time, (I wanted to follow the framework naming convetion, instead of the old VB 6.0) and in debug mode in the inmediate window, wich ever I want to modify, the other one is modified as well.
    It seems that this is not the case where I can use this naming convention. :(

    I do need help though, just wanted to make change with the information.
    Why can't I put this thread into something like General .NET issues, or something like that.
    Saturday, November 14, 2009 10:15 PM

All replies

  • Than again, I was only simply stupid:
    public string Name
        get { return nameTextBox.Text; }
        set { nameTextBox.Text = value; }
    I just wanted to simplify the access to the textbox, but I forgot, that this property exists. Boy! Sorry for the inconvenience, hope none of the Microsoft developer started to start a deep search for such a bug.
    Saturday, November 14, 2009 11:00 PM