32 references to AppendSwitchUnquotedIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (5)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (5)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Utilities.Core (1)
Microsoft.Build.Utilities.UnitTests (2)
Microsoft.NET.Sdk.Publish.Tasks (15)
Tasks\MsDeploy\MSDeploy.cs (15)
603commandLineBuilder.AppendSwitchUnquotedIfNotNull("-replace:", arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
618commandLineBuilder.AppendSwitchUnquotedIfNotNull("-skip:", arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
683commandLineBuilder.AppendSwitchUnquotedIfNotNull("-declareParam:", arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
738commandLineBuilder.AppendSwitchUnquotedIfNotNull("-setParam:", arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
816commandLineBuilder.AppendSwitchUnquotedIfNotNull("-setParam:", arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
904commandLineBuilder.AppendSwitchUnquotedIfNotNull(dest, arguments.Count == 0 ? null : string.Join(",", arguments.ToArray()));
922commandLine.AppendSwitchUnquotedIfNotNull(strSwitch, dl);
971commandLine.AppendSwitchUnquotedIfNotNull("-verb:", m_verb);
972commandLine.AppendSwitchUnquotedIfNotNull("-failureLevel:", m_failureLevel);
973commandLine.AppendSwitchUnquotedIfNotNull("-xpath:", m_xpath);
974commandLine.AppendSwitchUnquotedIfNotNull("-replace:", m_replace);
975commandLine.AppendSwitchUnquotedIfNotNull("-skip:", m_skip);
1001if (m_retryAttempts > 0) commandLine.AppendSwitchUnquotedIfNotNull("-retryAttempts=", m_retryAttempts.ToString(CultureInfo.InvariantCulture));
1002if (m_retryInterval > 0) commandLine.AppendSwitchUnquotedIfNotNull("-retryInterval=", m_retryInterval.ToString(CultureInfo.InvariantCulture));
1006commandLine.AppendSwitchUnquotedIfNotNull("-userAgent=", string.Concat("\"", UserAgent, "\""));