35 references to AppendSwitch
Microsoft.Build.Tasks.CodeAnalysis (9)
CommandLineBuilderExtension.cs (2)
43
AppendSwitch
(switchName);
142
AppendSwitch
(switchName);
InteractiveCompiler.cs (1)
204
commandLine.
AppendSwitch
("/i-");
ManagedCompiler.cs (1)
984
commandLine.
AppendSwitch
("/embed");
Vbc.cs (5)
422
commandLine.
AppendSwitch
("/optionstrict+");
426
commandLine.
AppendSwitch
("/optionstrict:custom");
455
commandLine.
AppendSwitch
("/vbruntime*");
459
commandLine.
AppendSwitch
("/vbruntime-");
463
commandLine.
AppendSwitch
("/vbruntime+");
Microsoft.Build.Tasks.Core (6)
CommandLineBuilderExtension.cs (2)
52
AppendSwitch
(switchName);
305
AppendSwitch
(switchName);
Exec.cs (4)
575
commandLine.
AppendSwitch
("-c");
590
commandLine.
AppendSwitch
("/Q"); // echo off
593
commandLine.
AppendSwitch
("/D"); // do not load AutoRun configuration from the registry (perf)
595
commandLine.
AppendSwitch
("/C"); // run then terminate
Microsoft.Build.Utilities.Core (6)
CommandLineBuilder.cs (6)
503
AppendSwitch
(switchName);
573
AppendSwitch
(switchName);
605
AppendSwitch
(switchName);
643
AppendSwitch
(switchName);
684
AppendSwitch
(switchName);
715
AppendSwitch
(switchName);
Microsoft.Build.Utilities.UnitTests (9)
CommandLineBuilder_Tests.cs (9)
28
c.
AppendSwitch
("/a");
29
c.
AppendSwitch
("-b");
197
c.
AppendSwitch
("/something");
211
c.
AppendSwitch
("/something");
225
c.
AppendSwitch
("/something");
239
c.
AppendSwitch
("/something");
253
c.
AppendSwitch
("/something");
269
c.
AppendSwitch
("/something");
447
c.
AppendSwitch
("/D:");
Microsoft.DotNet.Build.Tasks.Workloads (5)
Wix\CommandLineBuilderExtensions.cs (1)
40
builder.
AppendSwitch
(switchName);
Wix\HarvesterToolTask.cs (4)
115
CommandLineBuilder.
AppendSwitch
($"-var var.{SourceVariableName}");
120
CommandLineBuilder.
AppendSwitch
("-ag");
124
CommandLineBuilder.
AppendSwitch
("-gg");
132
CommandLineBuilder.
AppendSwitch
(s_SuppressionArguments[suppression]);