As a young(ish) developer in a solo shop I have come to greatly appreciate Resharper as a learning tool and mini-QA. That being said, can Resharper break your code in some cases(possibly edge)?
For example(see below), R# continually suggests that my -->
this. is redundant
and catch is redundant
There are other examples as well but I am not asking about a specific instance as much as in general.
Has anyone had a R# suggestion break their code? If so what were they and mabye most importantly for me; What can I look for in order to understand if it is, in fact, giving me bad advice?
private void LoadMyForm(DataRow row)
{
try
{
this.tbxFirstName.Text = row["FirstName"].ToString();
this.tbxLastName.Text = row["LastName"].ToString();
tbxMiddleName.Text = row["MiddleName"].ToString();
tbxPersonID.Text = row["PersonID"].ToString();
tbxSSN.Text = row["SSN"].ToString();
tbxEmailAddress.Text = row["EmailAddress"].ToString();
}
catch (Exception)
{
throw;
}
}