Code Analysis misses redundant constructor

I believe the March 7 nightly build of R# 4.0 fails to identify redundant
constructors when assigning event handlers, like this one:

_errorToolStripButton.CheckedChanged += new
EventHandler(_errorToolStripButton_CheckedChanged);

Previously, it would suggest the following:

_errorToolStripButton.CheckedChanged +=
errorToolStripButtonCheckedChanged;

Has anyone else noticed this?

Cheers,
Mike

1 comment
Comment actions Permalink

There are a lot of tests for these analysis, and the do not fail in the
latests builds.
Please check if this warning is not disabled at your side

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Mike Strobel" <mstrobel@cdcsoftware.com> wrote in message
news:fr3k8s$ak0$1@is.intellij.net...
>I believe the March 7 nightly build of R# 4.0 fails to identify redundant
>constructors when assigning event handlers, like this one:
>

_errorToolStripButton.CheckedChanged += new
EventHandler(_errorToolStripButton_CheckedChanged);

>

Previously, it would suggest the following:

>

_errorToolStripButton.CheckedChanged +=
errorToolStripButtonCheckedChanged;

>

Has anyone else noticed this?

>

Cheers,
Mike



0

Please sign in to leave a comment.