dotnet/aspnetcore

Consistent naming standard for private static fields

Open

#50.888 geöffnet am 23. Sept. 2023

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C# (10.653 Forks)batch import
area-infrastructurehelp wanted

Repository-Metriken

Stars
 (37.933 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 9h) (258 gemergte PRs in 30 T)

Beschreibung

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