45 references to SafeUnescaped
dotnet-svcutil-lib (1)
Metadata\MetadataFileNameManager.cs (1)
230return (new Uri(baseUri, relUrl)).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Microsoft.Build.Tasks.Git (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.AzureDevOpsServer.Git (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.AzureRepos.Git (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.Bitbucket.Git (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.Common (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.Gitea (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.Gitee (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.GitHub (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.GitLab (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
Microsoft.SourceLink.GitWeb (2)
src\sourcelink\src\Common\Utilities\UriUtilities.cs (2)
71/// <see cref="UriFormat.SafeUnescaped"/> does not unescape PUA characters (see https://github.com/dotnet/runtime/issues/89538), 74private const UriFormat Format = UriFormat.SafeUnescaped;
NuGet.Configuration (1)
Proxy\ProxyCache.cs (1)
129UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped));
NuGet.Credentials (1)
CredentialService.cs (1)
230return new Uri(uri.GetComponents(UriComponents.SchemeAndServer, UriFormat.SafeUnescaped));
NuGet.Packaging (1)
PackageCreation\Authoring\PackageBuilder.cs (1)
1141Uri safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped), UriKind.Relative);
NuGet.Protocol (1)
HttpSource\TokenStore.cs (1)
67return new Uri(uri.GetComponents(UriComponents.SchemeAndServer, UriFormat.SafeUnescaped));
System.IO.Packaging (4)
System\IO\Packaging\FileFormatException.cs (1)
139info.AddValue("SourceUri", SourceUri?.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), typeof(string));
System\IO\Packaging\PackUriHelper.cs (3)
42string serializedPartUri = partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped); 532safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative); 538UriComponents.KeepDelimiter, UriFormat.SafeUnescaped), UriKind.Relative);
System.Net.HttpListener (1)
System\Net\ServiceNameStore.cs (1)
108UriComponents.NormalizedHost, UriFormat.SafeUnescaped);
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
251UriComponents.NormalizedHost, UriFormat.SafeUnescaped);
System.Private.Uri (14)
System\Uri.cs (7)
683result = CombineUri(baseUri, relativeStr, dontEscape ? UriFormat.UriEscaped : UriFormat.SafeUnescaped); 1546string remoteUrl = info.RemoteUrl ??= GetParts(components, UriFormat.SafeUnescaped); 1575GetParts(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 1619uriFormat = UriFormat.SafeUnescaped; 1845string selfUrl = selfInfo.RemoteUrl ??= GetParts(components, UriFormat.SafeUnescaped); 1846string otherUrl = otherInfo.RemoteUrl ??= other.GetParts(components, UriFormat.SafeUnescaped); 2775case UriFormat.SafeUnescaped:
System\UriExt.cs (6)
305if ((format & ~UriFormat.SafeUnescaped) != 0) 692baseUri.UserEscaped ? UriFormat.UriEscaped : UriFormat.SafeUnescaped); 757else if (format == UriFormat.SafeUnescaped) 829case UriFormat.SafeUnescaped: 885string self = GetParts(ComponentsToCompare, UriFormat.SafeUnescaped); 886string other = uriLink.GetParts(ComponentsToCompare, UriFormat.SafeUnescaped);
System\UriScheme.cs (1)
140if ((format & ~UriFormat.SafeUnescaped) != 0)