9 references to AppendSwitchIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
899commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly); 900commandLine.AppendSwitchIfNotNull("/refout:", OutputRefAssembly);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
899commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly); 900commandLine.AppendSwitchIfNotNull("/refout:", OutputRefAssembly);
Microsoft.Build.Tasks.Core (3)
GenerateResource.cs (1)
639resGenCommand.AppendSwitchIfNotNull("/r:", reference);
ResGen.cs (1)
571resGenArguments.AppendSwitchIfNotNull("/r:", reference);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
118commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly);
Microsoft.Build.Utilities.UnitTests (2)
CommandLineBuilder_Tests.cs (2)
85c.AppendSwitchIfNotNull("/animal:", new TaskItem("dog and pony")); 412c.AppendSwitchIfNotNull("/D", new TaskItem(@"foo-bar"));