Skip to content

SA1306: Clarify protected field naming - #4355

Merged
AArnott merged 1 commit into
masterfrom
aarnott-fuzzy-barnacle
Oct 20, 2026
Merged

AArnott merged 1 commit into
masterfrom
aarnott-fuzzy-barnacle

Conversation

@AArnott

@AArnott AArnott commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #3552

Clarifies the casing conventions for mutable and readonly protected/private protected fields, and for protected internal fields, in the SA1306 documentation. The existing casing behavior is unchanged. Updated the Czech, Russian, and Chinese translations to match.

Documentation-only change; no tests run.

Document the casing conventions for protected, private protected, and protected internal fields to clarify the behavior reported in #3552.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@AArnott
AArnott marked this pull request as ready for review October 20, 2026 00:33
Copilot AI balanced review requested due to automatic review settings October 20, 2026 00:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The documentation updates consistently describe existing behavior, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Clarifies SA1306 documentation for protected field naming, addressing #3552 without changing analyzer behavior.

Changes:

  • Explains casing for mutable and readonly protected and private protected fields.
  • Clarifies uppercase naming for protected internal fields.
  • Updates Czech, Russian, and Chinese translations.
File Description
documentation/​zh-cn/​SA1306.md Adds matching Chinese guidance.
documentation/​SA1306.md Clarifies protected field casing conventions.
documentation/​ru-ru/​SA1306.md Adds matching Russian guidance.
documentation/​cs-cz/​SA1306.md Adds matching Czech guidance.

Review effort: Balanced

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.62%. Comparing base (2b8bc7d) to head (d505b12).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4355   +/-   ##
=======================================
  Coverage   97.62%   97.62%           
=======================================
  Files        1336     1336           
  Lines      149792   149792           
  Branches     5098     5098           
=======================================
  Hits       146239   146239           
  Misses       2265     2265           
  Partials     1288     1288           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AArnott
AArnott merged commit 78999f2 into master Oct 20, 2026
30 checks passed
@AArnott
AArnott deleted the aarnott-fuzzy-barnacle branch October 20, 2026 01:06
This was referenced Nov 11, 2026
This was referenced Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SA1306: Undocumented/untested casing style for private protected fields

2 participants