[211] Reformat code with Shorten references adds redundant cast
Hi,
ReSharper still from time to time adds a cast to the following code:
Before reformat:
Assert.AreEqual(1, bla);
After reformat:
Assert.AreEqual((object)1, (object)bla);
It only happens if option "Shorten references" ist used. And the cast is
marked as redundant ;)
Sincerley,
Stefan Lieser
Please sign in to leave a comment.
This is known problem.
Will be fixed soon
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Stefan Lieser" <slieser@t-online.de> wrote in message
news:dnp61a$8so$1@is.intellij.net...
>
>
>
>
>
>
>