12 references to EscapeSingleArg
dotnet-aot (11)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (11)
389builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ResultsDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(resultsDirectoryPath)}"); 394builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.EscapeSingleArg(configFilePath)}"); 399builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(diagnosticOutputDirectoryPath)}"); 404builder.Append($" {ArgumentEscaper.EscapeSingleArg(arg)}"); 420builder.Append($" {ArgumentEscaper.EscapeSingleArg("@" + _httpResponseFilePath)}"); 425builder.Append($" {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.EscapeSingleArg(_pipeName)}"); 521? $"exec {ArgumentEscaper.EscapeSingleArg(module.TargetPath)}" 540$" {CliConstants.ServerOptionKey} {CliConstants.ServerOptionValue} {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.EscapeSingleArg(pipeName)}")); 549builder.Append($" {CliConstants.ArtifactPostProcessingManifestOptionKey} {ArgumentEscaper.EscapeSingleArg(manifestPath)}"); 557builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.EscapeSingleArg(configFilePath)}"); 562builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(diagnosticOutputDirectoryPath)}");
Microsoft.DotNet.Cli.Utils (1)
ArgumentEscaper.cs (1)
61escapedArgs.Add(EscapeSingleArg(arg));