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 standard tells us to use the this keyword.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.