GU0080
November 24, 2021 ยท View on GitHub
Parameter count does not match attribute
| Topic | Value |
|---|---|
| Id | GU0080 |
| Severity | Warning |
| Enabled | True |
| Category | Gu.Analyzers.Correctness |
| Code | TestMethodAnalyzer |
Description
Parameter count does not match attribute.
Motivation
ADD MOTIVATION HERE
How to fix violations
ADD HOW TO FIX VIOLATIONS HERE
Configure severity
Via ruleset file.
Configure the severity per project, for more info see MSDN.
Via #pragma directive.
#pragma warning disable GU0080 // Parameter count does not match attribute
Code violating the rule here
#pragma warning restore GU0080 // Parameter count does not match attribute
Or put this at the top of the file to disable all instances.
#pragma warning disable GU0080 // Parameter count does not match attribute
Via attribute [SuppressMessage].
[System.Diagnostics.CodeAnalysis.SuppressMessage("Gu.Analyzers.Correctness",
"GU0080:Parameter count does not match attribute",
Justification = "Reason...")]