Open PavlinII opened 2 months ago
Dear @PavlinII thanks a lot for reporting this. I confirm it's a False Negative. We'll add it to our backlog and fix it sometime in the future.
@pavel-mikula-sonarsource, our VB.NET expert will be thrilled to fix this.
S1656 detects useless self-assignment to field, but does not raise when a field is self-assigned using
Me.
(likethis.
in C#).This can help finding bugs in constructors.