Skip to content

Commit 4c1d490

Browse files
committed
fixup! Use EnableCodeStyleSeverity instead of AnalysisLevel to control new diagnostic severity behavior
1 parent fdc75d8 commit 4c1d490

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CodeStyle/Tools/Program.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ and an implied numerical option (such as '4') -->
264264
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysis{language}CodeStyle)" />
265265
</ItemGroup>
266266
267-
<!-- Pass the MSBuild property value for 'EffectiveAnalysisLevelStyle' to the analyzers via analyzer config options. -->
267+
<!-- Pass the MSBuild property values for 'EffectiveAnalysisLevelStyle' and 'EnableCodeStyleSeverity' to the analyzers via analyzer config options. -->
268268
<ItemGroup>
269269
<CompilerVisibleProperty Include="EffectiveAnalysisLevelStyle" />
270+
<CompilerVisibleProperty Include="EnableCodeStyleSeverity" />
270271
</ItemGroup>
271272
</Target>
272273

0 commit comments

Comments
 (0)