diff --git a/eng/Common.globalconfig b/eng/Common.globalconfig index fd878420d57..10a906af1b7 100644 --- a/eng/Common.globalconfig +++ b/eng/Common.globalconfig @@ -746,7 +746,7 @@ dotnet_diagnostic.SA1015.severity = suggestion dotnet_diagnostic.SA1019.severity = none # Increment symbol '++' should not be preceded by a space -dotnet_diagnostic.SA1020.severity = suggestion +dotnet_diagnostic.SA1020.severity = warning # Negative sign should be preceded by a space dotnet_diagnostic.SA1021.severity = suggestion diff --git a/src/Build.UnitTests/Definition/ToolsetConfigurationReader_Tests.cs b/src/Build.UnitTests/Definition/ToolsetConfigurationReader_Tests.cs index 4560b91f20b..e0a0f3dfeee 100644 --- a/src/Build.UnitTests/Definition/ToolsetConfigurationReader_Tests.cs +++ b/src/Build.UnitTests/Definition/ToolsetConfigurationReader_Tests.cs @@ -598,7 +598,7 @@ private void CheckPathsTable(Dictionary pathsTab var paths = pathsTable[kind]; Assert.Equal(paths.SearchPaths.Count, expectedPaths.Length); - for (int i = 0; i < paths.SearchPaths.Count; i ++) + for (int i = 0; i < paths.SearchPaths.Count; i++) { Assert.Equal(paths.SearchPaths[i], expectedPaths[i]); }