9 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)
405commandLine.AppendSwitchIfNotNull("/imports:", this.Imports, ","); 596commandLine.AppendSwitchIfNotNull("/link:", links.ToArray(), ","); 601commandLine.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)
405commandLine.AppendSwitchIfNotNull("/imports:", this.Imports, ","); 596commandLine.AppendSwitchIfNotNull("/link:", links.ToArray(), ","); 601commandLine.AppendSwitchIfNotNull("/reference:", references.ToArray(), ",");
Microsoft.Build.Utilities.UnitTests (1)
CommandLineBuilder_Tests.cs (1)
213c.AppendSwitchIfNotNull("/switch:", new[] { new TaskItem("Mer cury.cs"), null, new TaskItem("Ve nus.cs"), new TaskItem("Ear th.cs") }, ",");