Please find the details below,
SonarQube version: 6.7
Error observed: S4275: “Refactor this getter so that it actually refers to the field ‘__cashLess’”, even when the right variable is returned. An extra underscore is prefixed to the actual variable name in the error message.
Language: VB .Net
*Steps to reproduce:
Public Class Class1 Private Withevents _cashLess as CashLess Public Property CashLess() As CashLess Get Return _cashLess End Get Set(ByVal value As CashLess) _cashLess = value End Set End Property End Class Public Class CashLess End Class