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?
Asked
Active
Viewed 3,930 times
14
-
Is it not under ResharperOptions=>CodeEditing=>C#=>Naming Style? – PCG Dec 09 '13 at 19:43
-
@P_G At least not in v7.1 – Big McLargeHuge Dec 09 '13 at 19:53
1 Answers
26
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.

Brian P
- 1,569
- 13
- 23
-
Is this possible in JetBrains Rider (Resharper-Based)? Asked in: https://stackoverflow.com/questions/48104681/jetbrains-rider-c-sharp-naming-style-for-private-methods-and-properties – Brian Jordan Jan 04 '18 at 22:42
-
1