docs
docs copied to clipboard
Parameter count mismatch rule triggers for param arrays
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
- Content Source: docs/fundamentals/code-analysis/quality-rules/ca2017.md
- Product: dotnet-fundamentals
- GitHub Login: @Youssef1313
- Microsoft Alias: gewarren