one-liners use expression body
.NET Test / .NET tests (push) Successful in 2m15s

This commit is contained in:
2026-09-24 00:57:02 +04:00
parent ac93744579
commit 720fd1e21f
15 changed files with 121 additions and 424 deletions
+4 -2
View File
@@ -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.