Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

richardstanton
Copy link

… 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.

@dnfclas
Copy link

dnfclas commented Nov 10, 2016

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
Copy link

dnfclas commented Nov 11, 2016

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

Thanks, DNFBOT;

Base automatically changed from master to main March 11, 2021 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants