10 references to AppendSwitchIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (4)
src\Compilers\Core\MSBuildTask\Csi.cs (1)
38
commandLine.
AppendSwitchIfNotNull
("/imports:", Imports, ";");
src\Compilers\Core\MSBuildTask\Vbc.cs (3)
396
commandLine.
AppendSwitchIfNotNull
("/imports:", this.Imports, ",");
587
commandLine.
AppendSwitchIfNotNull
("/link:", links.ToArray(), ",");
592
commandLine.
AppendSwitchIfNotNull
("/reference:", references.ToArray(), ",");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (4)
src\Compilers\Core\MSBuildTask\Csi.cs (1)
38
commandLine.
AppendSwitchIfNotNull
("/imports:", Imports, ";");
src\Compilers\Core\MSBuildTask\Vbc.cs (3)
396
commandLine.
AppendSwitchIfNotNull
("/imports:", this.Imports, ",");
587
commandLine.
AppendSwitchIfNotNull
("/link:", links.ToArray(), ",");
592
commandLine.
AppendSwitchIfNotNull
("/reference:", references.ToArray(), ",");
Microsoft.Build.Utilities.UnitTests (1)
CommandLineBuilder_Tests.cs (1)
212
c.
AppendSwitchIfNotNull
("/switch:", new[] { new TaskItem("Mer cury.cs"), null, new TaskItem("Ve nus.cs"), new TaskItem("Ear th.cs") }, ",");
Microsoft.NET.Build.Containers (1)
Tasks\CreateNewImageToolTask.cs (1)
242
builder.
AppendSwitchIfNotNull
(commandArgName, santized, delimiter: " ");