Skip to content

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

Draft
jjonescz wants to merge 1 commit into
dotnet:mainfrom
jjonescz:sdk52399-sprint-directive-properties
Draft

Add CA2267: Quote whitespace in file-based program directive values#55352
jjonescz wants to merge 1 commit into
dotnet:mainfrom
jjonescz:sdk52399-sprint-directive-properties

Conversation

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
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.

2 participants