Add CA2267: Quote whitespace in file-based program directive values - #55352
Draft
jjonescz wants to merge 1 commit into
Draft
Add CA2267: Quote whitespace in file-based program directive values#55352jjonescz wants to merge 1 commit into
jjonescz wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
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.mdandusage-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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Counterpart to dotnet/sdk#55592.
Internal previews