StackExchange / StackExchange/StackExchange.Redis
Naming inconventions on private fields.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Under test, I see private fields don't start with underscores.
Is there any specific policy to avoid using underscore before letters on private fields by Redis? I would like to change them all, on entire solution but I wanted to create an issue to be sure about it.
Here is Microsoft's link about indentifier names.
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies private fields under test but does not name specific files or tests; start by reviewing the relevant test code and the linked Microsoft C# naming guidance. Confirm the repository policy before changing names across the solution, with consistent private-field naming throughout as the completion criterion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100