Skip to content

Commit

Permalink
Revert "documentation updates for CA2017"
Browse files Browse the repository at this point in the history
This reverts commit 4c41c4e.
  • Loading branch information
Kritner committed Apr 11, 2024
1 parent 4c41c4e commit 80777b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/NetAnalyzers/Microsoft.CodeAnalysis.NetAnalyzers.md
Original file line number Diff line number Diff line change
Expand Up @@ -1944,9 +1944,9 @@ Forward the 'CancellationToken' parameter to methods to ensure the operation can
|CodeFix|True|
---

## [CA2017](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017): Message templates should have the correct number of parameters and braces
## [CA2017](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017): Parameter count mismatch

The number of parameters supplied in the logging message template do not match the number of named placeholders or the braces supplied are invalid.
Number of parameters supplied in the logging message template do not match the number of named placeholders.

|Item|Value|
|-|-|
Expand Down
4 changes: 2 additions & 2 deletions src/NetAnalyzers/Microsoft.CodeAnalysis.NetAnalyzers.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -3516,8 +3516,8 @@
},
"CA2017": {
"id": "CA2017",
"shortDescription": "Message templates should have the correct number of parameters and braces",
"fullDescription": "The number of parameters supplied in the logging message template do not match the number of named placeholders or the braces supplied are invalid..",
"shortDescription": "Parameter count mismatch",
"fullDescription": "Number of parameters supplied in the logging message template do not match the number of named placeholders.",
"defaultLevel": "warning",
"helpUri": "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017",
"properties": {
Expand Down

0 comments on commit 80777b5

Please sign in to comment.