This commit is contained in:
@@ -43,8 +43,10 @@ Do not claim API completeness or accuracy beyond tested contracts.
|
||||
|
||||
Follow `.editorconfig`, not incidental style in unfinished code.
|
||||
|
||||
- Use file-scoped namespaces, explicit types rather than `var`, and block-bodied
|
||||
methods. Preserve the configured expression-bodied property/accessor preferences.
|
||||
- Use file-scoped namespaces and explicit types rather than `var`. Prefer
|
||||
expression-bodied methods and operators when the expression fits on one line;
|
||||
otherwise use block bodies. Preserve the configured expression-bodied preferences
|
||||
for other member kinds.
|
||||
- Use `_camelCase` for non-public instance fields, including internal fields;
|
||||
`s_camelCase` for non-public mutable static fields; PascalCase for member constants
|
||||
and static readonly fields. Method-local constants follow local-variable camelCase.
|
||||
|
||||
Reference in New Issue
Block a user