dotnet/aspnetcore

Consistent naming standard for private static fields

Open

#50.888 aperta il 23 set 2023

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)C# (10.653 fork)batch import
area-infrastructurehelp wanted

Metriche repository

Star
 (37.933 star)
Metriche merge PR
 (Merge medio 16g 9h) (258 PR mergiate in 30 g)

Descrizione

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.

Guida contributor