Parameter count mismatch rule triggers for param arrays
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
This rule is also triggered, when you submit a params array to one of the logging functions. Maybe it shouldn't be triggered in such this case, as it might make people suppress the warning. Which in turn might result in missing real mismatches.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 601eecaa-4de9-17e2-3043-5c0a14352e4a
* Version Independent ID: 2420d12e-7ebe-1180-bee7-e0b5a90afcb2
* Content: [CA2017: Parameter count mismatch (code analysis) - .NET](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
* Content Source: [docs/fundamentals/code-analysis/quality-rules/ca2017.md](https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/quality-rules/ca2017.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @Youssef1313
* Microsoft Alias: **gewarren**
Contributor guide
Assessment
This issue has not been assessed yet.