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