Current filter:
                                You should refresh the page.
                                  • A check for IsNot Nothing is ignored in ElseIf-branch (see line 13):

                                    [VB.NET]
                                    Public Class Class1 Property PropA As String Property PropB As String Shared Function Foo(class1 As Class1) As Integer If class1 IsNot Nothing Then If class1.PropA IsNot Nothing Then Return class1.PropA.Length ElseIf class1.PropB IsNot Nothing Then 'CRR0027 False Positive Return class1.PropB.Length End If End If Return 0 End Function End Class
                                • Pavel A (DevExpress) 11.23.2017

                                  Hello Robert,

                                  Thank you for pointing out this issue.
                                  I have reproduced it. We will send you a notification as soon as we fix it.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: