Current filter:
                                You should refresh the page.
                                  • Please see following example:

                                    [VB.NET]
                                    Public Class Class1 Public Function Foo() As Integer Dim text As String = Nothing 'CRR0027 (correct) Return text.Length End Function Public Function Bar() As Integer Dim text As String = Nothing With text 'No CRR0027 (but should be CRR0027) Return .Length End With End Function End Class
                                • Alexander K (DevExpress) 09.24.2018

                                  Hi Robert,

                                  Thank you for providing the code sample. We have added check for the "With" statements to our analysis and now diagnostics is shown in both cases from your sample.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: