20 references to Escape
Aspire.Cli.Tests (1)
tests\Shared\Processes\ProcessTestFixture.cs (1)
67$"""<Compile Include="{SecurityElement.Escape(source)}" />"""));
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\Processes\ProcessTestFixture.cs (1)
67$"""<Compile Include="{SecurityElement.Escape(source)}" />"""));
Aspire.Hosting.Sdk.Tests (11)
AppHostSdkTargetsTests.cs (11)
135var propsPath = SecurityElement.Escape(Path.Combine(GetRepoRoot(), 239var sdkTargetsPath = SecurityElement.Escape(Path.Combine(repoRoot, "src", "Aspire.AppHost.Sdk", "SDK", "Sdk.in.targets")); 310<AspireRidToolExecutable>{SecurityElement.Escape(ridToolPath)}</AspireRidToolExecutable> 587<Value>{{SecurityElement.Escape(appHostDirectory)}}</Value> 590<Value>{{SecurityElement.Escape(appHostFile)}}</Value> 1206<UsingTask TaskName="RunAspireCliCommand" AssemblyFile="{{SecurityElement.Escape(taskAssemblyPath)}}" /> 1209<RunAspireCliCommand FileName="{{SecurityElement.Escape(commandShimPath)}}" TimeoutMilliseconds="5000"> 1478var sdkTargetsPath = SecurityElement.Escape(Path.Combine(repoRoot, "src", "Aspire.AppHost.Sdk", "SDK", "Sdk.in.targets")); 1524var appHostPropsPath = SecurityElement.Escape(Path.Combine(repoRoot, "src", "Aspire.Hosting.AppHost", "build", "Aspire.Hosting.AppHost.props")); 1528var appHostTargetsPath = SecurityElement.Escape(appHostTargetsFile); 1549<_AspireTasksAssembly>{{SecurityElement.Escape(GetAspireHostingTasksAssemblyPath())}}</_AspireTasksAssembly>
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
533commentString = System.Security.SecurityElement.Escape(commentString);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (1)
964static string EscapeValue(string value) => SecurityElement.Escape(value);
Microsoft.DotNet.ProjectTools (1)
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\VirtualProjectBuilder.cs (1)
964static string EscapeValue(string value) => SecurityElement.Escape(value);
Microsoft.Extensions.Http.Resilience.Tests (1)
BuildTransitive\GrpcNetClientFactoryVersionTargetTests.cs (1)
440return SecurityElement.Escape(value) ?? string.Empty;
System.Security.Permissions (2)
System\Security\Permissions\IDRole.cs (2)
37root.AddAttribute("ID", SecurityElement.Escape(ID)); 41root.AddAttribute("Role", SecurityElement.Escape(Role));
System.Windows.Forms.Design (1)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
658commentString = SecurityElement.Escape(commentString);