ReSharper 5.0 flagging event handler names in C# Forms code

Hi All,

I noticed an odd change when I upgraded from ReSharper 4.0 to 5.0.  I tend to prefix the names of all my controls with an abbreviation for the control type (btn, txt, cbo, pnl, pb, etc).  At the same time the naming rules I use specify that instance methods use Pascal case.  Suddenly in my form code, I am seeing names like the following trigger the inconsistent naming rule violation (it thinks it should be CboNote_TextChanged):

private void cboNote_TextChanged(object sender, EventArgs e) { //stuff }

What is odd is I just created a dummy project and put in an event handler called "btnDrinkMe_Click" and it didn't trigger the rule???  Any idea why this is happening with some forms but not others?

--Jonathan

Also, I am using VS 2008 and Win 7 64 bit.

Please sign in to leave a comment.