Indexed properties producing false positive CRR0027:
Visual BasicPublic Class Class1
ReadOnly Property Item(index As Integer) As String
Get
Return index.ToString
End Get
End Property
Function Func(index As Integer) As String
Return index.ToString
End Function
Sub Foo()
'CRR0027
Dim x As String = Item(1)
'No CRR0027
Dim y As String = Func(1)
End Sub
End Class
Hi Robert,
Thank you for your report. I have reproduced this issue locally. We will fix it in our future builds.