10 references to AppendSwitchIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (4)
src\Compilers\Core\MSBuildTask\Csi.cs (1)
38commandLine.AppendSwitchIfNotNull("/imports:", Imports, ";");
src\Compilers\Core\MSBuildTask\Vbc.cs (3)
389commandLine.AppendSwitchIfNotNull("/imports:", this.Imports, ","); 580commandLine.AppendSwitchIfNotNull("/link:", links.ToArray(), ","); 585commandLine.AppendSwitchIfNotNull("/reference:", references.ToArray(), ",");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (4)
src\Compilers\Core\MSBuildTask\Csi.cs (1)
38commandLine.AppendSwitchIfNotNull("/imports:", Imports, ";");
src\Compilers\Core\MSBuildTask\Vbc.cs (3)
389commandLine.AppendSwitchIfNotNull("/imports:", this.Imports, ","); 580commandLine.AppendSwitchIfNotNull("/link:", links.ToArray(), ","); 585commandLine.AppendSwitchIfNotNull("/reference:", references.ToArray(), ",");
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\CommandLineGenerator.cs (1)
359clb.AppendSwitchIfNotNull(commandLineToolSwitch.SwitchValue, commandLineToolSwitch.TaskItemArray, commandLineToolSwitch.Separator);
Microsoft.Build.Utilities.UnitTests (1)
CommandLineBuilder_Tests.cs (1)
212c.AppendSwitchIfNotNull("/switch:", new[] { new TaskItem("Mer cury.cs"), null, new TaskItem("Ve nus.cs"), new TaskItem("Ear th.cs") }, ",");