Quantcast
Channel: Let Resharper force this keyword on fields - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Brett Veenstra for Let Resharper force this keyword on fields

Checkout the StyleCop for Resharper plugin (part of the StyleCop project).You can then set the "default" severity for StyleCop to Error (or just this particular rule) and it will appear in the R#...

View Article



Answer by bdukes for Let Resharper force this keyword on fields

In ReSharper Options, under Code Editing -> C# -> Code Style there is an option for Use "this." qualifier for that you can set for fields, properties, events, and methods.

View Article

Let Resharper force this keyword on fields

Does anyone know if it is possible to have resharper force the use of the this keyword when it can be used? For fields and such...Resharper is capable of showing where it can be removed, but our coding...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images