dotnet/aspnetcore

Consistent naming standard for private static fields

Aperta

#50.888 aperta il 23 set 2023

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

Metriche repository

Star
 (37.933 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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