dotnet / dotnet/aspnetcore

Consistent naming standard for private static fields

Open
#50,888 4 comments 0 reactions 1 assignee Claimed by @JamesNK View on GitHub
area-infrastructure help wanted
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

dotnet/aspnetcore mixes `_underscore` and `PascalCase` for private static fields. We should pick one for consistency and enable a naming rule to enforce it.

Search results: https://github.com/search?q=repo%3Adotnet%2Faspnetcore%20%22private%20static%20readonly%22&type=code

Note: dotnet/runtime uses `s_` prefix.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.