codeformatter icon indicating copy to clipboard operation
codeformatter copied to clipboard

Add MemberThis rule. Rule explicitly adds 'this.' before local member…

Open richardstanton opened this issue 9 years ago • 2 comments

… access.

Some projects use a different naming convention for member access. In an alternative convention in order to easily tell if a variable is a local member the "this." operator is always used. This convention takes a different approach from the existing PrivateFieldNaming rule that adds an underscore on members.

This change adds a MemberThis rule that is turned off by default. This would allow an alternative convention to be used by a project that wanted to use the codeformatter.

richardstanton avatar Nov 10 '16 23:11 richardstanton

Hi @richardstanton, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

dnfclas avatar Nov 10 '16 23:11 dnfclas

@richardstanton, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

dnfclas avatar Nov 11 '16 00:11 dnfclas