Skip to main content

Redundant this qualifier

In This Article

CodeRush Classic shows the Redundant this qualifier code issue if the this qualifier is redundant and can be removed.

#Fix

Remove the redundant this qualifier.

#Purpose

Highlights the this qualifiers, which can be removed to improve code readability.

#Example

private void MyFrom_Load(object sender, EventArgs e)
{this.Text = "My Application";
}

Fix:

private void MyFrom_Load(object sender, EventArgs e)
{
    Text = "My Application";
}