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)
Please sign in to leave a comment.
Hello,
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!”
Hi Serge, could you explain further or point me to a resource?