14 references to EscapeSingleArg
dotnet-aot (13)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (13)
398
builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ResultsDirectoryOptionName} {ArgumentEscaper.
EscapeSingleArg
(resultsDirectoryPath)}");
403
builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.
EscapeSingleArg
(configFilePath)}");
408
builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.
EscapeSingleArg
(diagnosticOutputDirectoryPath)}");
413
builder.Append($" {ArgumentEscaper.
EscapeSingleArg
(arg)}");
429
builder.Append($" {ArgumentEscaper.
EscapeSingleArg
("@" + _httpResponseFilePath)}");
434
builder.Append($" {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.
EscapeSingleArg
(_pipeName)}");
530
? $"exec {ArgumentEscaper.
EscapeSingleArg
(module.TargetPath)}"
551
$" {CliConstants.ServerOptionKey} {CliConstants.ServerOptionValue} {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.
EscapeSingleArg
(pipeName)}"));
561
builder.Append($" {CliConstants.ArtifactPostProcessingManifestOptionKey} {ArgumentEscaper.
EscapeSingleArg
(manifestPath)}");
569
builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.
EscapeSingleArg
(configFilePath)}");
574
builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.
EscapeSingleArg
(diagnosticOutputDirectoryPath)}");
592
builder.Append($" {ArgumentEscaper.
EscapeSingleArg
(argument)}");
595
builder.Append($" {ArgumentEscaper.
EscapeSingleArg
(testApplicationArguments[++i])}");
Microsoft.DotNet.Cli.Utils (1)
ArgumentEscaper.cs (1)
61
escapedArgs.Add(
EscapeSingleArg
(arg));