5 types derived from CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (1)
18public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (1)
18public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.Core (1)
CommandLineBuilderExtension.cs (1)
19public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.UnitTests (1)
ResourceHandling\GenerateResource_Tests.cs (1)
4322internal sealed class CommandLineBuilderHelper : CommandLineBuilder
Microsoft.Build.Utilities.UnitTests (1)
CommandLineBuilder_Tests.cs (1)
462internal sealed class TestCommandLineBuilder : CommandLineBuilder
39 instantiations of CommandLineBuilder
Microsoft.Build.Tasks.Core (3)
XamlTaskFactory\CommandLineGenerator.cs (3)
204var commandLineBuilder = new CommandLineBuilder(true /* quote hyphens */); 710CommandLineBuilder tempBuilder = new CommandLineBuilder(true); 725CommandLineBuilder tempBuilder = new CommandLineBuilder(true);
Microsoft.Build.Utilities.Core (2)
TrackedDependencies\FileTracker.cs (2)
610CommandLineBuilder builder = new CommandLineBuilder(); 640CommandLineBuilder builder = new CommandLineBuilder();
Microsoft.Build.Utilities.UnitTests (33)
CommandLineBuilder_Tests.cs (33)
27CommandLineBuilder c = new CommandLineBuilder(); 41CommandLineBuilder c = new CommandLineBuilder(); 54CommandLineBuilder c = new CommandLineBuilder(); 67CommandLineBuilder c = new CommandLineBuilder(); 83CommandLineBuilder c = new CommandLineBuilder(); 96CommandLineBuilder c = new CommandLineBuilder(); 109CommandLineBuilder c = new CommandLineBuilder(); 125CommandLineBuilder c = new CommandLineBuilder(); 140CommandLineBuilder c = new CommandLineBuilder(); 153CommandLineBuilder c = new CommandLineBuilder(); 168CommandLineBuilder c = new CommandLineBuilder(); 183CommandLineBuilder c = new CommandLineBuilder(); 196CommandLineBuilder c = new CommandLineBuilder(); 210CommandLineBuilder c = new CommandLineBuilder(); 224CommandLineBuilder c = new CommandLineBuilder(); 238CommandLineBuilder c = new CommandLineBuilder(); 252CommandLineBuilder c = new CommandLineBuilder(); 268CommandLineBuilder c = new CommandLineBuilder(); 287CommandLineBuilder c = new CommandLineBuilder(); 299CommandLineBuilder c = new CommandLineBuilder(); 310CommandLineBuilder c = new CommandLineBuilder(); 321CommandLineBuilder c = new CommandLineBuilder(); 332CommandLineBuilder c = new CommandLineBuilder(); 343CommandLineBuilder c = new CommandLineBuilder(); 354CommandLineBuilder c = new CommandLineBuilder(); 366CommandLineBuilder c = new CommandLineBuilder(); 377CommandLineBuilder c = new CommandLineBuilder(); 388CommandLineBuilder c = new CommandLineBuilder(/* do not quote hyphens*/); 399CommandLineBuilder c = new CommandLineBuilder(true /* quote hyphens*/); 410CommandLineBuilder c = new CommandLineBuilder(true); 421CommandLineBuilder c = new CommandLineBuilder(true); 435CommandLineBuilder c = new CommandLineBuilder(); 443CommandLineBuilder c = new CommandLineBuilder(quoteHyphensOnCommandLine: false, useNewLineSeparator: true);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
25} = new CommandLineBuilder();
58 references to CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
119/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/> 137/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/>
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
119/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/> 137/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/>
Microsoft.Build.Tasks.Core (14)
XamlTaskFactory\CommandLineGenerator.cs (14)
204var commandLineBuilder = new CommandLineBuilder(true /* quote hyphens */); 225internal void BuildAdditionalArgs(CommandLineBuilder cmdLine) 239internal void GenerateCommandsAccordingToType(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch, bool recursive) 348private static void EmitTaskItemArraySwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 373private static void EmitStringArraySwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 419private static bool PerformSwitchValueSubstition(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch, string switchValue) 450private static void EmitIntegerSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 477private void EmitStringSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 558private static void EmitBooleanSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 583private static void EmitReversibleBooleanSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 602private void GenerateStandardCommandLine(CommandLineBuilder builder, bool allOptionsMode) 647private void GenerateTemplatedCommandLine(CommandLineBuilder builder) 710CommandLineBuilder tempBuilder = new CommandLineBuilder(true); 725CommandLineBuilder tempBuilder = new CommandLineBuilder(true);
Microsoft.Build.Utilities.Core (2)
TrackedDependencies\FileTracker.cs (2)
610CommandLineBuilder builder = new CommandLineBuilder(); 640CommandLineBuilder builder = new CommandLineBuilder();
Microsoft.Build.Utilities.UnitTests (34)
CommandLineBuilder_Tests.cs (34)
27CommandLineBuilder c = new CommandLineBuilder(); 41CommandLineBuilder c = new CommandLineBuilder(); 54CommandLineBuilder c = new CommandLineBuilder(); 67CommandLineBuilder c = new CommandLineBuilder(); 83CommandLineBuilder c = new CommandLineBuilder(); 96CommandLineBuilder c = new CommandLineBuilder(); 109CommandLineBuilder c = new CommandLineBuilder(); 125CommandLineBuilder c = new CommandLineBuilder(); 140CommandLineBuilder c = new CommandLineBuilder(); 153CommandLineBuilder c = new CommandLineBuilder(); 168CommandLineBuilder c = new CommandLineBuilder(); 183CommandLineBuilder c = new CommandLineBuilder(); 196CommandLineBuilder c = new CommandLineBuilder(); 210CommandLineBuilder c = new CommandLineBuilder(); 224CommandLineBuilder c = new CommandLineBuilder(); 238CommandLineBuilder c = new CommandLineBuilder(); 252CommandLineBuilder c = new CommandLineBuilder(); 268CommandLineBuilder c = new CommandLineBuilder(); 287CommandLineBuilder c = new CommandLineBuilder(); 299CommandLineBuilder c = new CommandLineBuilder(); 310CommandLineBuilder c = new CommandLineBuilder(); 321CommandLineBuilder c = new CommandLineBuilder(); 332CommandLineBuilder c = new CommandLineBuilder(); 343CommandLineBuilder c = new CommandLineBuilder(); 354CommandLineBuilder c = new CommandLineBuilder(); 366CommandLineBuilder c = new CommandLineBuilder(); 377CommandLineBuilder c = new CommandLineBuilder(); 388CommandLineBuilder c = new CommandLineBuilder(/* do not quote hyphens*/); 399CommandLineBuilder c = new CommandLineBuilder(true /* quote hyphens*/); 410CommandLineBuilder c = new CommandLineBuilder(true); 421CommandLineBuilder c = new CommandLineBuilder(true); 435CommandLineBuilder c = new CommandLineBuilder(); 443CommandLineBuilder c = new CommandLineBuilder(quoteHyphensOnCommandLine: false, useNewLineSeparator: true); 492public static void ShouldBe(this CommandLineBuilder commandLineBuilder, string expected)
Microsoft.DotNet.Build.Tasks.Workloads (4)
Wix\CommandLineBuilderExtensions.cs (3)
9/// <see cref="CommandLineBuilder"/> extension methods. 19public static void AppendArrayIfNotNull(this CommandLineBuilder builder, string switchName, string[] values) 36public static void AppendSwitchIfTrue(this CommandLineBuilder builder, string switchName, bool value)
Wix\WixToolTaskBase.cs (1)
22protected CommandLineBuilder CommandLineBuilder