From b3e40a443c1850c76baa6efb8049ca39474b0010 Mon Sep 17 00:00:00 2001 From: Ashley Hauck Date: Fri, 8 Sep 2017 13:00:43 -0700 Subject: [PATCH] Use StringBuilder.Append instead of string concat --- src/Compilers/Core/MSBuildTask/DotnetHost.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Compilers/Core/MSBuildTask/DotnetHost.cs b/src/Compilers/Core/MSBuildTask/DotnetHost.cs index cc241c43469..569a6f13a78 100644 --- a/src/Compilers/Core/MSBuildTask/DotnetHost.cs +++ b/src/Compilers/Core/MSBuildTask/DotnetHost.cs @@ -66,7 +66,8 @@ private static string PrependFileToArgs(string pathToTool, string commandLineArg { var builder = new CommandLineBuilderExtension(); builder.AppendFileNameIfNotNull(pathToTool); - builder.AppendTextUnquoted(" " + commandLineArgs); + builder.AppendTextUnquoted(" "); + builder.AppendTextUnquoted(commandLineArgs); return builder.ToString(); } } -- GitLab