A typical example: add a button (buttonTest) to a form (FormTest) using the Windows Forms designer and double-click it. The result in the code is:
in the FormTest.designer.cs file:
this.buttonTest.Click += new System.EventHandler(buttonTest_Click);
in the FormTest.cs file:
private void buttonTest_Click(object sender, EventArgs e)
When I try to rename buttonTest_Click to ButtonTest_Click, it does not rename the delegate call in FormTest.designer.cs, which results in a compile-time error. Remark: the Visual Studio 2005 Refactor -> Rename works properly.