26 references to AppendSwitchUnquotedIfNotNull
Microsoft.Build.Tasks.CodeAnalysis (5)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (3)
64
AppendSwitchUnquotedIfNotNull
(switchName, (value ? "+" : "-"));
85
AppendSwitchUnquotedIfNotNull
(switchName, (value ? choice1 : choice2));
114
AppendSwitchUnquotedIfNotNull
(switchName, alias + "=");
src\Compilers\Core\MSBuildTask\Csc.cs (1)
215
commandLine.
AppendSwitchUnquotedIfNotNull
("/define:", GetDefineConstantsSwitch(DefineConstants, Log));
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
493
commandLine.
AppendSwitchUnquotedIfNotNull
("/define:", Vbc.GetDefineConstantsSwitch(this.DefineConstants));
Microsoft.Build.Tasks.CodeAnalysis.Sdk (5)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (3)
64
AppendSwitchUnquotedIfNotNull
(switchName, (value ? "+" : "-"));
85
AppendSwitchUnquotedIfNotNull
(switchName, (value ? choice1 : choice2));
114
AppendSwitchUnquotedIfNotNull
(switchName, alias + "=");
src\Compilers\Core\MSBuildTask\Csc.cs (1)
215
commandLine.
AppendSwitchUnquotedIfNotNull
("/define:", GetDefineConstantsSwitch(DefineConstants, Log));
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
493
commandLine.
AppendSwitchUnquotedIfNotNull
("/define:", Vbc.GetDefineConstantsSwitch(this.DefineConstants));
Microsoft.Build.Tasks.Core (13)
CommandLineBuilderExtension.cs (4)
71
AppendSwitchUnquotedIfNotNull
(switchName, value ? "+" : "-");
84
AppendSwitchUnquotedIfNotNull
(switchName, value.Value ? "+" : "-");
104
AppendSwitchUnquotedIfNotNull
(switchName, value ? choice1 : choice2);
131
AppendSwitchUnquotedIfNotNull
(switchName, alias + "=");
WinMDExp.cs (8)
209
commandLine.
AppendSwitchUnquotedIfNotNull
("/d:", OutputDocumentationFile);
210
commandLine.
AppendSwitchUnquotedIfNotNull
("/md:", InputDocumentationFile);
211
commandLine.
AppendSwitchUnquotedIfNotNull
("/mp:", InputPDBFile);
212
commandLine.
AppendSwitchUnquotedIfNotNull
("/pdb:", OutputPDBFile);
213
commandLine.
AppendSwitchUnquotedIfNotNull
("/assemblyunificationpolicy:", AssemblyUnificationPolicy);
220
commandLine.
AppendSwitchUnquotedIfNotNull
("/out:", OutputWindowsMetadataFile);
230
commandLine.
AppendSwitchUnquotedIfNotNull
("/reference:", reference.ItemSpec);
236
commandLine.
AppendSwitchUnquotedIfNotNull
(WinMDModule, String.Empty);
XamlTaskFactory\CommandLineGenerator.cs (1)
518
clb.
AppendSwitchUnquotedIfNotNull
(strSwitch, str);
Microsoft.Build.Utilities.Core (1)
CommandLineBuilder.cs (1)
668
AppendSwitchUnquotedIfNotNull
(switchName, parameter.ItemSpec);
Microsoft.Build.Utilities.UnitTests (2)
CommandLineBuilder_Tests.cs (2)
97
c.
AppendSwitchUnquotedIfNotNull
("/animal:", "dog and pony");
355
c.
AppendSwitchUnquotedIfNotNull
("/D", @"A"" \""B");