diff --git a/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/ValidateArgumentsOfPublicMethods.cs b/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/ValidateArgumentsOfPublicMethods.cs index 198f3f4eb0..5a794d90cf 100644 --- a/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/ValidateArgumentsOfPublicMethods.cs +++ b/src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/ValidateArgumentsOfPublicMethods.cs @@ -26,7 +26,7 @@ public sealed class ValidateArgumentsOfPublicMethods : DiagnosticAnalyzer CreateLocalizableResourceString(nameof(ValidateArgumentsOfPublicMethodsTitle)), CreateLocalizableResourceString(nameof(ValidateArgumentsOfPublicMethodsMessage)), DiagnosticCategory.Design, - RuleLevel.Disabled, // After C# 9, the only recommended way to do this would be using the ! Operator and we can switch this to IDE Suggestion. + RuleLevel.Disabled, description: CreateLocalizableResourceString(nameof(ValidateArgumentsOfPublicMethodsDescription)), isPortedFxCopRule: true, isDataflowRule: true);