RC no longer suggest replacing method invocation with method group in lambda expressions

Hi,

in R# 5 RC I no longer see R# suggesting to convert the following:

UpperCaseLetters.Any(c => char.IsLower(c))


to

UpperCaseLetters.Any(char.IsLower)
2 comments
Comment actions Permalink

Hello,

in R# 5 RC I no longer see R# suggesting to convert the following:

> char.IsLower(c)) ]]>


to



This change could have serious performance impact (on struct, interface and
class virtual methods), so we would not promote it anymore in such cases.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Hi Serge, could you explain further or point me to a resource?

0

Please sign in to leave a comment.