This project is read-only.

Problem with Resharper Integration and SA1101

Jun 29, 2011 at 4:23 PM

Whilst using resharper 5.1 and StyleCop in VS2010 premium, I encountered message:

Warning    27    SA1101: The call to lblFRED must begin with the 'this.' prefix to indicate that the item is a member of the class.    

The line concerned is:

          lblFRED.Text = string.Empty;

The Resharper integration did not highlight this line as having an error (lblFRED is a win forms label control).

If I change the line

        this.lastFRED = this.txtFRED.Text;


        lastFRED = this.txtFRED.Text;

then the SA1101 green squiggle appears.

Jun 29, 2011 at 9:25 PM


Can you open a bug and attach the files causing the issue please and it'll get fixed in 5.0.

Jul 3, 2011 at 7:50 PM

Issue report opened at