Redundant 'Object.ToString()' call
On string cancatenation ReSharper is flagging the ToString() as redundant on value types. Which as I understand it is correct because it actually avoids a boxing. I could modify the inspection rules, but this seems more like a ReSharper flaw. Obviously the boxing takes milliseconds at best and likely doesn't matter in the real world. Same thing happens in String.Format. Opinions welcome.
Please sign in to leave a comment.
Hello Yuriy,
There's a similar problem report in our tracker: http://youtrack.jetbrains.net/issue/RSRP-208977
and you're welcome to vote for it. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"