diff --git a/eng/Common.globalconfig b/eng/Common.globalconfig index fd878420d57..975984e63aa 100644 --- a/eng/Common.globalconfig +++ b/eng/Common.globalconfig @@ -726,7 +726,7 @@ dotnet_diagnostic.SA1008.severity = suggestion dotnet_diagnostic.SA1009.severity = suggestion # Opening square brackets should not be preceded by a space -dotnet_diagnostic.SA1010.severity = suggestion +dotnet_diagnostic.SA1010.severity = warning # Closing square bracket should be followed by a space dotnet_diagnostic.SA1011.severity = suggestion diff --git a/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs b/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs index 4b17c85a326..fd8ed6fa54a 100644 --- a/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs +++ b/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs @@ -1057,7 +1057,7 @@ private bool ProcessBodyBytesRead(int bytesRead, int packetLength, NodePacketTyp return true; } - private bool ReadAndRoutePacket(NodePacketType packetType, byte [] packetData, int packetLength) + private bool ReadAndRoutePacket(NodePacketType packetType, byte[] packetData, int packetLength) { try { diff --git a/src/MSBuild/XMake.cs b/src/MSBuild/XMake.cs index 63b6f3590e4..c40c16ca078 100644 --- a/src/MSBuild/XMake.cs +++ b/src/MSBuild/XMake.cs @@ -212,7 +212,7 @@ private static void HandleConfigurationException(Exception ex) [MTAThread] public static int Main( #if !FEATURE_GET_COMMANDLINE - string [] args + string[] args #endif ) { @@ -482,7 +482,7 @@ public static ExitType Execute( #if FEATURE_GET_COMMANDLINE string commandLine #else - string [] commandLine + string[] commandLine #endif ) { @@ -1615,7 +1615,7 @@ private static void GatherAllSwitches( #if FEATURE_GET_COMMANDLINE string commandLine, #else - string [] commandLine, + string[] commandLine, #endif out CommandLineSwitches switchesFromAutoResponseFile, out CommandLineSwitches switchesNotFromAutoResponseFile) { diff --git a/src/Tasks/CombineXmlElements.cs b/src/Tasks/CombineXmlElements.cs index 96fa638314d..ca7525a92ac 100644 --- a/src/Tasks/CombineXmlElements.cs +++ b/src/Tasks/CombineXmlElements.cs @@ -21,7 +21,7 @@ public class CombineXmlElements : TaskExtension /// /// The XML elements to include as children of the root element /// - public ITaskItem [] XmlElements { get; set; } + public ITaskItem[] XmlElements { get; set; } /// /// The generated XML