From 84c53de2bdc02376f87eb36d8dd2de365554c407 Mon Sep 17 00:00:00 2001 From: mary-georgiou-sonarsource Date: Wed, 15 Mar 2023 16:19:12 +0100 Subject: [PATCH] fix issue from rebasing --- .../SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/src/SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs b/analyzers/src/SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs index 65627b91f2f..c2508a645c2 100644 --- a/analyzers/src/SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs +++ b/analyzers/src/SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs @@ -60,7 +60,7 @@ protected void ReadParameters(SonarCompilationStartAnalysisContext context) } if (context.Options.SonarLintXml() != null && !string.IsNullOrEmpty(outPath)) { - var sonarLintXml = context.SonarLintFile(); + var sonarLintXml = context.SonarLintXml(); IgnoreHeaderComments = sonarLintXml.IgnoreHeaderComments(context.Compilation.Language); AnalyzeGeneratedCode = sonarLintXml.AnalyzeGeneratedCode(context.Compilation.Language); OutPath = Path.Combine(outPath, context.Compilation.Language == LanguageNames.CSharp ? "output-cs" : "output-vbnet");