Please see following example:
Visual BasicPublic Class Class1
Default Public ReadOnly Property Item(index As Integer) As String
Get
Return index.ToString
End Get
End Property
Public Function Foo() As Integer
If Me(3) Is Nothing Then Return -1
'CRR0027
Return Me(3).Length
End Function
Public Function Bar() As Integer
If Item(3) Is Nothing Then Return -1
'No CRR0027
Return Item(3).Length
End Function
End Class
Hi Robert,
Thank you for providing the code sample. We have reproduced this issue and corrected it.