12 references to EscapeSingleArg
dotnet-aot (11)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (11)
387builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ResultsDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(resultsDirectoryPath)}"); 392builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.EscapeSingleArg(configFilePath)}"); 397builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(diagnosticOutputDirectoryPath)}"); 402builder.Append($" {ArgumentEscaper.EscapeSingleArg(arg)}"); 418builder.Append($" {ArgumentEscaper.EscapeSingleArg("@" + _httpResponseFilePath)}"); 423builder.Append($" {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.EscapeSingleArg(_pipeName)}"); 519? $"exec {ArgumentEscaper.EscapeSingleArg(module.TargetPath)}" 538$" {CliConstants.ServerOptionKey} {CliConstants.ServerOptionValue} {CliConstants.DotNetTestPipeOptionKey} {ArgumentEscaper.EscapeSingleArg(pipeName)}")); 547builder.Append($" {CliConstants.ArtifactPostProcessingManifestOptionKey} {ArgumentEscaper.EscapeSingleArg(manifestPath)}"); 555builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.ConfigFileOptionName} {ArgumentEscaper.EscapeSingleArg(configFilePath)}"); 560builder.Append($" {TestCommandDefinition.MicrosoftTestingPlatform.DiagnosticOutputDirectoryOptionName} {ArgumentEscaper.EscapeSingleArg(diagnosticOutputDirectoryPath)}");
Microsoft.DotNet.Cli.Utils (1)
ArgumentEscaper.cs (1)
61escapedArgs.Add(EscapeSingleArg(arg));