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