Big McLargeHuge
Big McLargeHuge

Reputation: 16056

ReSharper C# naming style for private methods and properties

I like to make the first letter of private methods, properties and events lowercase and the first letter of public methods, properties and events uppercase. However, in ReSharper 7.1 there is only one option under C# naming style that applies all methods, properties and events. What is the best way to tell ReSharper to use a different convention for private only?

Upvotes: 14

Views: 4202

Answers (1)

Brian P
Brian P

Reputation: 1587

You can create your own Naming Style Rule.

Resharper Options => Code Editing => [Language] => Naming Style => Advanced Options => +Add...

Verified that the requested functionality is possible using this option.

Upvotes: 25

Related Questions