[818] Winform Event Handlers Falsely Reporting Unused

I'm getting consistent greyed out, 'unused private member' reports for

Code behind with warning: private void itemList_Enter(object sender, EventArgs e) { // Stuff here }
Designer file: this.itemList.Enter += new System.EventHandler(this.itemList_Enter);

Anyone else seeing similar?

Cheers

Sean

2 comments
Comment actions Permalink

Hello sean,

If this is VS2005, then you'd better try latest nightly builds: http://www.jetbrains.net/confluence/display/ReSharper/ReSharper4.0Nightly+Builds

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


sk> I'm getting consistent greyed out, 'unused private member' reports
sk> for
sk>
sk> Code behind with warning: private void itemList_Enter(object
sk> sender, EventArgs e) { // Stuff here } Designer file:
sk> this.itemList.Enter += new System.EventHandler(this.itemList_Enter);
sk>
sk> Anyone else seeing similar?
sk>
sk> Cheers
sk>
sk> Sean
sk>


0
Comment actions Permalink

Ilya

It is indeed 2005. I will give the latest build a try when I'm back in the office next week.

Thanks

Sean

0

Please sign in to leave a comment.