45 references to Path
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (3)
383
string u1Path = u1.GetComponents(UriComponents.
Path
, UriFormat.Unescaped);
384
string u2Path = u2.GetComponents(UriComponents.
Path
, UriFormat.Unescaped);
402
UriComponents components = UriComponents.Scheme | UriComponents.
Path
;
Microsoft.AspNetCore.Authentication.Test (12)
FacebookTests.cs (4)
333
if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == FacebookDefaults.TokenEndpoint)
340
if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) ==
341
new Uri(customUserInfoEndpoint).GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped))
410
else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://graph.facebook.com/v14.0/me")
GoogleTests.cs (2)
1049
else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
1104
else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
MicrosoftAccountTests.cs (2)
208
else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
316
else if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
TwitterTests.cs (4)
397
if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
466
if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
479
if (req.RequestUri.GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped) ==
480
new Uri(verifyCredentialsEndpoint).GetComponents(UriComponents.SchemeAndServer | UriComponents.
Path
, UriFormat.UriEscaped))
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
202
var uriComponent = uri.GetComponents(UriComponents.
Path
, UriFormat.UriEscaped);
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ResourceIDHelper.cs (2)
62
string basePath = baseUri.GetComponents(UriComponents.
Path
, UriFormat.UriEscaped);
63
string sourcePath = sourceUri.GetComponents(UriComponents.
Path
, UriFormat.UriEscaped);
PresentationCore (4)
MS\Internal\FontCache\FontCacheUtil.cs (1)
585
string unescapedPath = uri.GetComponents(UriComponents.
Path
, UriFormat.Unescaped);
MS\Internal\FontCache\FontResourceCache.cs (1)
100
string path = uri.GetComponents(UriComponents.
Path
, UriFormat.SafeUnescaped);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
212
streamUri.GetComponents(UriComponents.
Path
| UriComponents.KeepDelimiter, UriFormat.UriEscaped));
System\Windows\Navigation\BaseUriHelper.cs (1)
180
Debug.Assert(string.Equals(partName, uri.GetComponents(UriComponents.
Path
, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase));
PresentationFramework (1)
System\Windows\Markup\XamlParseException.cs (1)
280
bamlFilePath = resourceUri.GetComponents(UriComponents.
Path
, UriFormat.Unescaped);
System.IO.Packaging (2)
System\IO\Packaging\PackUriHelper.cs (2)
436
new Uri(s_defaultUri, partName).GetComponents(UriComponents.
Path
|
567
new Uri(partUri.GetComponents(UriComponents.
Path
|
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
778
path = uri.GetComponents(UriComponents.
Path
, UriFormat.Unescaped);
System.Private.Uri (19)
System\Uri.cs (13)
717
return info.Path ??= GetParts(UriComponents.
Path
| UriComponents.KeepDelimiter, UriFormat.UriEscaped);
1052
return GetUnescapedParts(UriComponents.
Path
| UriComponents.KeepDelimiter, UriFormat.Unescaped);
1367
return GetParts(NonPathPart | UriComponents.
Path
, UriFormat.UriEscaped);
1370
return GetParts(NonPathPart | UriComponents.
Path
| UriComponents.Query, UriFormat.UriEscaped);
2675
if ((uriParts & UriComponents.
Path
) != 0)
2710
if ((uriParts & UriComponents.
Path
) != 0)
2905
if ((parts & UriComponents.
Path
) != 0)
2910
if (parts == UriComponents.
Path
)
3089
case UriComponents.
Path
:
3092
if (uriParts == UriComponents.
Path
&& InFact(Flags.AuthorityFound) &&
3372
_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.
Path
);
4733
ReadOnlySpan<char> share = basePart.GetParts(UriComponents.
Path
| UriComponents.KeepDelimiter, UriFormat.Unescaped);
4789
left = 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)
39
AbsoluteUri = Scheme | UserInfo | Host | Port |
Path
| Query | Fragment,
43
HttpRequestUrl = Scheme | Host | Port |
Path
| Query,
44
PathAndQuery =
Path
| Query,
System\UriExt.cs (1)
353
if (DisablePathAndQueryCanonicalization && (components & (UriComponents.
Path
| UriComponents.Query)) != 0)
System\UriScheme.cs (1)
149
if (uri.DisablePathAndQueryCanonicalization && (components & (UriComponents.
Path
| UriComponents.Query)) != 0)