Invalid replace suggestion

Hi,

I see that the Reshaper suggests to replace conditions to 'false' and
'true', but it's not right. 'bar' can be 'not null' if the next step
initiated by 'continue'. (see attached file)

Regards,
Andrey



Attachment(s):
reshaer_bug.jpg
1 comment
Comment actions Permalink

ReSharper is right. Check your code.

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Andrey Demidov" <nektodron@gmail.com> wrote in message
news:fua3rd$756$1@is.intellij.net...

Hi,

>

I see that the Reshaper suggests to replace conditions to 'false' and
'true', but it's not right. 'bar' can be 'not null' if the next step
initiated by 'continue'. (see attached file)

>

Regards,
Andrey



0

Please sign in to leave a comment.