Skip to content

Add CA2267: Quote whitespace in file-based program directive values - #55352

Merged
gewarren merged 3 commits into
dotnet:mainfrom
jjonescz:sdk52399-sprint-directive-properties
Aug 27, 2026
Merged

Add CA2267: Quote whitespace in file-based program directive values#55352
gewarren merged 3 commits into
dotnet:mainfrom
jjonescz:sdk52399-sprint-directive-properties

Conversation

@jjonescz

@jjonescz jjonescz commented Aug 10, 2026

Copy link
Copy Markdown
Member

Copilot AI lite review requested due to automatic review settings August 10, 2026 09:48
@dotnetrepoman dotnetrepoman Bot added this to the August 2026 milestone Aug 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds documentation for the new code analysis rule CA2267 and wires it into the existing code analysis rule indexes and navigation so readers can discover it alongside other Usage rules.

Changes:

  • Add a new rule article: CA2267: Quote whitespace in file-based program directive values.
  • Register CA2267 in the code analysis rule lists (index.md and usage-warnings.md).
  • Add CA2267 to the Tools + Diagnostics navigation TOC.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/navigate/tools-diagnostics/toc.yml Adds CA2267 to the navigation tree under code analysis rules.
docs/fundamentals/code-analysis/quality-rules/usage-warnings.md Adds CA2267 to the Usage warnings rules table.
docs/fundamentals/code-analysis/quality-rules/index.md Adds CA2267 to the master code quality rules index table.
docs/fundamentals/code-analysis/quality-rules/ca2267.md Introduces the new CA2267 rule documentation page, including cause, guidance, examples, and suppression info.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/fundamentals/code-analysis/quality-rules/ca2267.md
jjonescz and others added 2 commits August 21, 2026 12:04
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jjonescz
jjonescz marked this pull request as ready for review August 27, 2026 07:35
@jjonescz
jjonescz requested review from a team and gewarren as code owners August 27, 2026 07:35
@gewarren
gewarren merged commit c088695 into dotnet:main Aug 27, 2026
10 checks passed
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.

3 participants