Current filter:
                                You should refresh the page.
                                  • Please see following example: (GetType never returns Null/Nothing)

                                    [VB.NET]
                                    Public Class Class1 Public Function Foo(Of T)() As Boolean Dim typeOfT As Type = GetType(T) 'CRR0027 Return typeOfT.IsInterface End Function End Class
                                • Dmitry O (DevExpress) 01.19.2018

                                  Thanks for the code snippet. I agree GetType Operator (Visual Basic) can never return Nothing, thus the 'CRR0027' issue in this case is false positive.
                                  We will do our best to fix it as soon as possible. Once we make any progress, we will let you know of our results in the context of this ticket.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: