47 references to AppendSwitch
Microsoft.Build.Tasks.CodeAnalysis (9)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
43AppendSwitch(switchName); 142AppendSwitch(switchName);
src\Compilers\Core\MSBuildTask\InteractiveCompiler.cs (1)
202commandLine.AppendSwitch("/i-");
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1001commandLine.AppendSwitch("/embed");
src\Compilers\Core\MSBuildTask\Vbc.cs (5)
438commandLine.AppendSwitch("/optionstrict+"); 442commandLine.AppendSwitch("/optionstrict:custom"); 471commandLine.AppendSwitch("/vbruntime*"); 475commandLine.AppendSwitch("/vbruntime-"); 479commandLine.AppendSwitch("/vbruntime+");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (9)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
43AppendSwitch(switchName); 142AppendSwitch(switchName);
src\Compilers\Core\MSBuildTask\InteractiveCompiler.cs (1)
202commandLine.AppendSwitch("/i-");
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1001commandLine.AppendSwitch("/embed");
src\Compilers\Core\MSBuildTask\Vbc.cs (5)
438commandLine.AppendSwitch("/optionstrict+"); 442commandLine.AppendSwitch("/optionstrict:custom"); 471commandLine.AppendSwitch("/vbruntime*"); 475commandLine.AppendSwitch("/vbruntime-"); 479commandLine.AppendSwitch("/vbruntime+");
Microsoft.Build.Tasks.Core (9)
CommandLineBuilderExtension.cs (2)
52AppendSwitch(switchName); 305AppendSwitch(switchName);
Exec.cs (4)
580commandLine.AppendSwitch("-c"); 595commandLine.AppendSwitch("/Q"); // echo off 598commandLine.AppendSwitch("/D"); // do not load AutoRun configuration from the registry (perf) 600commandLine.AppendSwitch("/C"); // run then terminate
GenerateResource.cs (3)
625resGenCommand.AppendSwitch("/useSourcePath"); 631resGenCommand.AppendSwitch("/publicClass"); 646resGenCommand.AppendSwitch("/compile");
Microsoft.Build.Utilities.Core (6)
CommandLineBuilder.cs (6)
508AppendSwitch(switchName); 578AppendSwitch(switchName); 610AppendSwitch(switchName); 648AppendSwitch(switchName); 689AppendSwitch(switchName); 720AppendSwitch(switchName);
Microsoft.Build.Utilities.UnitTests (9)
CommandLineBuilder_Tests.cs (9)
29c.AppendSwitch("/a"); 30c.AppendSwitch("-b"); 198c.AppendSwitch("/something"); 212c.AppendSwitch("/something"); 226c.AppendSwitch("/something"); 240c.AppendSwitch("/something"); 254c.AppendSwitch("/something"); 270c.AppendSwitch("/something"); 448c.AppendSwitch("/D:");
Microsoft.DotNet.Build.Tasks.Workloads (5)
Wix\CommandLineBuilderExtensions.cs (1)
40builder.AppendSwitch(switchName);
Wix\HarvesterToolTask.cs (4)
115CommandLineBuilder.AppendSwitch($"-var var.{SourceVariableName}"); 120CommandLineBuilder.AppendSwitch("-ag"); 124CommandLineBuilder.AppendSwitch("-gg"); 132CommandLineBuilder.AppendSwitch(s_SuppressionArguments[suppression]);