Tobia Zambon
Tobia Zambon

Reputation: 7629

Why does Resharper want to apply camel-case to private methods?

Is there any way to tell to Resharper that methods should have different naming conventions depending on the access modifier as suggested for example here? I mean for example:

private methods lowerCamelCase

public methods UpperCamelCase

etc...

Upvotes: 7

Views: 2137

Answers (1)

Dmitri Nesteruk
Dmitri Nesteruk

Reputation: 23789

Sure, just go to ReSharper Options | Code Editing | C# | Naming Style, click Advanced Settings and then Add to add your custom rules. The extended naming rules let you define things like member visibility, whether it's static, and so on.

Upvotes: 12

Related Questions