44 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)
340if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == FacebookDefaults.TokenEndpoint) 347if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == 348new Uri(customUserInfoEndpoint).GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped)) 417else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.facebook.com/v22.0/me")
GoogleTests.cs (2)
1056else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo") 1111else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
MicrosoftAccountTests.cs (2)
215else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me") 323else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
TwitterTests.cs (4)
404if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token") 473if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token") 486if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped) == 487new 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)
61string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped); 62string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped);
PresentationCore (4)
MS\Internal\FontCache\FontCacheUtil.cs (1)
584string unescapedPath = uri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
MS\Internal\FontCache\FontResourceCache.cs (1)
99string path = uri.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
211streamUri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped));
System\Windows\Navigation\BaseUriHelper.cs (1)
179Debug.Assert(string.Equals(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase));
PresentationFramework (1)
System\Windows\Markup\XamlParseException.cs (1)
279bamlFilePath = resourceUri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
System.IO.Packaging (2)
System\IO\Packaging\PackUriHelper.cs (2)
406new Uri(s_defaultUri, partName).GetComponents(UriComponents.Path | 537new Uri(partUri.GetComponents(UriComponents.Path |
System.Private.Uri (19)
System\Uri.cs (13)
717return info.Path ??= GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1052return GetUnescapedParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 1367return GetParts(NonPathPart | UriComponents.Path, UriFormat.UriEscaped); 1370return GetParts(NonPathPart | UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 2681if ((uriParts & UriComponents.Path) != 0) 2716if ((uriParts & UriComponents.Path) != 0) 2911if ((parts & UriComponents.Path) != 0) 2916if (parts == UriComponents.Path) 3095case UriComponents.Path: 3098if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3382_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.Path); 4746ReadOnlySpan<char> share = basePart.GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 4802left = 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)
353if (DisablePathAndQueryCanonicalization && (components & (UriComponents.Path | UriComponents.Query)) != 0)
System\UriScheme.cs (1)
149if (uri.DisablePathAndQueryCanonicalization && (components & (UriComponents.Path | UriComponents.Query)) != 0)