From e3550dd66aae3b641f6acfc615f82c3d4e9eb667 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Fri, 3 Apr 2020 10:59:03 -0700 Subject: [PATCH] Fix rule suppression ID in compat rules --- Rules/CompatibilityRules/CompatibilityRule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules/CompatibilityRules/CompatibilityRule.cs b/Rules/CompatibilityRules/CompatibilityRule.cs index 9fdec0262..8418202e4 100644 --- a/Rules/CompatibilityRules/CompatibilityRule.cs +++ b/Rules/CompatibilityRules/CompatibilityRule.cs @@ -268,7 +268,7 @@ protected CompatibilityDiagnostic( ruleName, DiagnosticSeverity.Warning, analyzedFileName, - ruleId: null, + ruleId, suggestedCorrections: suggestedCorrections) { }