From 4271f03258795c27461847e908de68093092327d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Wed, 10 Jan 2024 09:17:19 +0100 Subject: [PATCH] MSTEST0001: Set default severity to Info --- src/Analyzers/MSTest.Analyzers/AnalyzerReleases.Unshipped.md | 2 +- .../MSTest.Analyzers/UseParallelizeAttributeAnalyzer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Analyzers/MSTest.Analyzers/AnalyzerReleases.Unshipped.md b/src/Analyzers/MSTest.Analyzers/AnalyzerReleases.Unshipped.md index 8142a3e5d1..c9f21b42d3 100644 --- a/src/Analyzers/MSTest.Analyzers/AnalyzerReleases.Unshipped.md +++ b/src/Analyzers/MSTest.Analyzers/AnalyzerReleases.Unshipped.md @@ -5,7 +5,7 @@ Rule ID | Category | Severity | Notes --------|----------|----------|------- -MSTEST0001 | Performance | Warning | UseParallelizeAttributeAnalyzer, [Documentation](https://github.com/microsoft/testfx/blob/main/docs/analyzers/MSTEST0001.md) +MSTEST0001 | Performance | Info | UseParallelizeAttributeAnalyzer, [Documentation](https://github.com/microsoft/testfx/blob/main/docs/analyzers/MSTEST0001.md) MSTEST0002 | Usage | Warning | TestClassShouldBeValidAnalyzer, [Documentation](https://github.com/microsoft/testfx/blob/main/docs/analyzers/MSTEST0002.md) MSTEST0003 | Usage | Warning | TestMethodShouldBeValidAnalyzer, [Documentation](https://github.com/microsoft/testfx/blob/main/docs/analyzers/MSTEST0003.md) MSTEST0004 | Design | Disabled | PublicTypeShouldBeTestClassAnalyzer, [Documentation](https://github.com/microsoft/testfx/blob/main/docs/analyzers/MSTEST0004.md) diff --git a/src/Analyzers/MSTest.Analyzers/UseParallelizeAttributeAnalyzer.cs b/src/Analyzers/MSTest.Analyzers/UseParallelizeAttributeAnalyzer.cs index 9f029fb8e5..01bb1d1e2b 100644 --- a/src/Analyzers/MSTest.Analyzers/UseParallelizeAttributeAnalyzer.cs +++ b/src/Analyzers/MSTest.Analyzers/UseParallelizeAttributeAnalyzer.cs @@ -24,7 +24,7 @@ public sealed class UseParallelizeAttributeAnalyzer : DiagnosticAnalyzer MessageFormat, Description, Category.Performance, - DiagnosticSeverity.Warning, + DiagnosticSeverity.Info, isEnabledByDefault: true, isReportedAtCompilationEnd: true);