Following code returns a false positive in method "Foo":
Visual BasicPublic Class Class1
Property Prop As Integer
Sub Foo()
Dim x As Class1 = Me
'CRR0027
x.Prop = 1
End Sub
Sub Bar()
Dim x As Class1 = New Class1
'No CRR0027
x.Prop = 2
End Sub
End Class
Hello Robert,
Thank you for contacting us and providing the code sample.
I have reproduced the issue on my side.
We will research it and let you know as soon as we have any results.