5 references to AppendSwitchIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (4)
Csi.cs (1)
38
commandLine.
AppendSwitchIfNotNull
("/imports:", Imports, ";");
Vbc.cs (3)
389
commandLine.
AppendSwitchIfNotNull
("/imports:", this.Imports, ",");
580
commandLine.
AppendSwitchIfNotNull
("/link:", links.ToArray(), ",");
585
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") }, ",");