Current filter:
                                You should refresh the page.
                                  • This code creates CRR0027 on short circuit condition:

                                    Public Class Class1 Property Prop As String Shared Function Foo(class1 As Class1) As Integer 'CRR0027 False Positive on second condition (short circuit!) If (class1 IsNot Nothing) AndAlso (class1.Prop IsNot Nothing) Then Return class1.Prop.Length End If Return 0 End Function End Class
                                • Pavel A (DevExpress) 11.23.2017

                                  Hello Robert,

                                  Thank you for contacting us and providing a code sample.
                                  I have reproduced this issue locally. We will fix it and notify you of our results.

                                • Robert 15 11.23.2017

                                  Please see Ticket T580266

                                • Pavel A (DevExpress) 11.23.2017

                                  Thank you for the update, Robert.
                                  We will answer you in the T580266 thread shortly.

                                1 Solution

                                Creation Date Importance Sort by