Support for StyleCop rule SA1101 (add "this.")?

Hi,

I am currently evaluating R# and noticed that even though the rule to always add "this." for access to items being a member of the class (SA1101) seems rather simple, support in R# does apparently not exist. It doesn't offer an auto-fix and especially is not able to add "this." in code cleanups. Can this possibly be added? Would really be an additional time-saver.

Regards,
Florian

3 comments
Comment actions Permalink
Have you checked out the StyleCop plugin? It might provide a fix for this: https://stylecop.codeplex.com/
0
Comment actions Permalink

That's what I am using. But it does not include a fix, that is why I ask.

0
Comment actions Permalink
It's technically possible for StyleCop to add a quick fix action for this, you'll have to raise an issue or feature request on their site to request it, though.
0

Please sign in to leave a comment.