48 references to Path
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (3)
383string u1Path = u1.GetComponents(UriComponents.Path, UriFormat.Unescaped); 384string u2Path = u2.GetComponents(UriComponents.Path, UriFormat.Unescaped); 402UriComponents components = UriComponents.Scheme | UriComponents.Path;
Microsoft.AspNetCore.Authentication.Test (12)
FacebookTests.cs (4)
333if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == FacebookDefaults.TokenEndpoint) 340if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == 341new Uri(customUserInfoEndpoint).GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped)) 410else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.facebook.com/v14.0/me")
GoogleTests.cs (2)
1049else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo") 1104else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
MicrosoftAccountTests.cs (2)
208else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me") 316else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
TwitterTests.cs (4)
397if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token") 466if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token") 479if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == 480new Uri(verifyCredentialsEndpoint).GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped))
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
202var uriComponent = uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped);
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ResourceIDHelper.cs (2)
63string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped); 64string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped);
PresentationCore (4)
MS\Internal\FontCache\FontCacheUtil.cs (1)
607string unescapedPath = uri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
MS\Internal\FontCache\FontResourceCache.cs (1)
103string path = uri.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
214streamUri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped));
System\Windows\Navigation\BaseUriHelper.cs (1)
198Debug.Assert(string.Equals(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase));
PresentationFramework (1)
System\Windows\Markup\XamlParseException.cs (1)
288bamlFilePath = resourceUri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
System.IO.Packaging (2)
System\IO\Packaging\PackUriHelper.cs (2)
437new Uri(s_defaultUri, partName).GetComponents(UriComponents.Path | 560new Uri(partUri.GetComponents(UriComponents.Path |
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
749path = uri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
System.Private.Uri (19)
System\Uri.cs (13)
716return info.Path ??= GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1051return GetUnescapedParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 1366return GetParts(NonPathPart | UriComponents.Path, UriFormat.UriEscaped); 1369return GetParts(NonPathPart | UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 2676if ((uriParts & UriComponents.Path) != 0) 2711if ((uriParts & UriComponents.Path) != 0) 2906if ((parts & UriComponents.Path) != 0) 2911if (parts == UriComponents.Path) 3090case UriComponents.Path: 3093if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3373_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.Path); 4734ReadOnlySpan<char> share = basePart.GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 4790left = basePart.GetParts(UriComponents.Path | UriComponents.KeepDelimiter,
System\UriCreationOptions.cs (1)
17/// <see cref="Uri.GetComponents(UriComponents, UriFormat)"/> may not be used for <see cref="UriComponents.Path"/> or <see cref="UriComponents.Query"/>.
System\UriEnumTypes.cs (3)
39AbsoluteUri = Scheme | UserInfo | Host | Port | Path | Query | Fragment, 43HttpRequestUrl = Scheme | Host | Port | Path | Query, 44PathAndQuery = Path | Query,
System\UriExt.cs (1)
335if (DisablePathAndQueryCanonicalization && (components & (UriComponents.Path | UriComponents.Query)) != 0)
System\UriScheme.cs (1)
149if (uri.DisablePathAndQueryCanonicalization && (components & (UriComponents.Path | UriComponents.Query)) != 0)
System.ServiceModel.Primitives (3)
System\ServiceModel\EndpointAddress.cs (3)
349string u1Path = u1.GetComponents(UriComponents.Path, UriFormat.Unescaped); 350string u2Path = u2.GetComponents(UriComponents.Path, UriFormat.Unescaped); 368UriComponents components = UriComponents.Scheme | UriComponents.Path;