Skip to content

Commit

Permalink
Fix rule suppression ID in compat rules (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmholt authored Apr 3, 2020
1 parent b6e0736 commit 975fcc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rules/CompatibilityRules/CompatibilityRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ protected CompatibilityDiagnostic(
ruleName,
DiagnosticSeverity.Warning,
analyzedFileName,
ruleId: null,
ruleId,
suggestedCorrections: suggestedCorrections)
{
}
Expand Down

0 comments on commit 975fcc6

Please sign in to comment.