Skip to content

Commit

Permalink
AnalysisWarningAnalyzer: Fix rebase conflict (#6783)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-mikula-sonarsource committed Feb 23, 2023
1 parent 46a0bcb commit af2652f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public abstract class AnalysisWarningAnalyzerBase : UtilityAnalyzerBase
protected AnalysisWarningAnalyzerBase() : base(DiagnosticId, Title) { }

protected sealed override void Initialize(SonarAnalysisContext context) =>
context.RegisterCompilationAction(c =>
context.RegisterCompilationStartAction(c =>
{
ReadParameters(c);
if (IsAnalyzerEnabled && !RoslynHelper.IsRoslynCfgSupported(MinimalSupportedRoslynVersion)) // MsBuild 15 is bound with Roslyn 2.x, where Roslyn CFG is not available.
Expand Down

0 comments on commit af2652f

Please sign in to comment.