S4143 Rule causes a lot of issues throughout our application analyses, however, most of them are false positive. This rule is unable to detect object creations sometimes, so it raises false issues like the following:
dr["CurrencyCode"] = General.GeneralParametersFinder.LocalCurrencyCode();
dt.Rows.Add(dr);
dr = dt.NewRow();
dr["CurrencyCode"] = Framework.GeneralParameters.E_U_R; // False issue raised here. dr refers to a new DataRow because of the previous line
As far as I understand, the issue you created is closed. Have you resolved this problem? I upgraded sonar to 7.3 version but we stil have these false issues.