9 references to AppendSwitchIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
897commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly); 898commandLine.AppendSwitchIfNotNull("/refout:", OutputRefAssembly);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (2)
897commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly); 898commandLine.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)
114commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly);
Microsoft.Build.Utilities.UnitTests (2)
CommandLineBuilder_Tests.cs (2)
84c.AppendSwitchIfNotNull("/animal:", new TaskItem("dog and pony")); 411c.AppendSwitchIfNotNull("/D", new TaskItem(@"foo-bar"));