53 references to Fragment
AnalyzeCiFailure (2)
tools\Aspire.TestTools\GitHubApiClient.cs (2)
60apiBaseUri.UserInfo.Length != 0 || apiBaseUri.Query.Length != 0 || apiBaseUri.Fragment.Length != 0) 261uri.UserInfo.Length == 0 && uri.Fragment.Length == 0;
aspire (7)
Agents\AspireSkills\SkillSource.cs (1)
141uri.UserInfo.Length != 0 || uri.Fragment.Length != 0))
Mcp\Tools\McpToolHelpers.cs (1)
212return sanitizedUri.GetLeftPart(UriPartial.Authority) + sanitizedUri.Query + sanitizedUri.Fragment;
Packaging\NuGetSourceIdentity.cs (1)
65!string.IsNullOrEmpty(uri.Fragment));
src\Shared\DashboardUrls.cs (2)
50return normalizedUri.GetLeftPart(UriPartial.Authority) + normalizedUri.Query + normalizedUri.Fragment; 75? normalizedUri.GetLeftPart(UriPartial.Authority) + normalizedUri.Query + normalizedUri.Fragment
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1898string.IsNullOrEmpty(uri.Fragment) &&
Utils\PackageSourceRedactor.cs (1)
56var hasFragment = !string.IsNullOrEmpty(uri.Fragment);
Aspire.Azure.AI.Extensions.OpenAI (1)
AzureOpenAISettings.cs (1)
78endpoint.UserInfo.Length > 0 || endpoint.Query.Length > 0 || endpoint.Fragment.Length > 0 ||
Aspire.Dashboard (5)
Components\Layout\ResourcesLayout.razor.cs (1)
2065(query.Count > 0 ? $"?{query}" : string.Empty) + location.Fragment;
Components\Pages\Terminals.razor.cs (1)
243DashboardUrls.ResourceOverviewUrl(resourceName) + location.Query + location.Fragment, focused: true);
src\Shared\DashboardUrls.cs (2)
50return normalizedUri.GetLeftPart(UriPartial.Authority) + normalizedUri.Query + normalizedUri.Fragment; 75? normalizedUri.GetLeftPart(UriPartial.Authority) + normalizedUri.Query + normalizedUri.Fragment
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1898string.IsNullOrEmpty(uri.Fragment) &&
Aspire.Hosting (3)
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
49var codespacesUrl = $"https://{options.Value.CodespaceName}-{uri.Port}.{options.Value.PortForwardingDomain}{uri.AbsolutePath}{uri.Query}{uri.Fragment}";
ExternalServiceResource.cs (1)
89if (!string.IsNullOrEmpty(uri.Fragment))
ResourceBuilderExtensions.cs (1)
1580if (!string.IsNullOrEmpty(uri.Fragment))
Aspire.Hosting.Azure.EntraId (1)
EntraIdValidation.cs (1)
99uri.Fragment.Length == 0)
Aspire.Hosting.DevTunnels (2)
DevTunnelOutputParser.cs (1)
141&& uri.Fragment.Length == 0
DevTunnelResourceBuilderExtensions.cs (1)
801return currentUri.PathAndQuery == "/" && currentUri.Fragment.Length == 0 && !url.EndsWith('/')
Aspire.TestTools (2)
GitHubApiClient.cs (2)
60apiBaseUri.UserInfo.Length != 0 || apiBaseUri.Query.Length != 0 || apiBaseUri.Fragment.Length != 0) 261uri.UserInfo.Length == 0 && uri.Fragment.Length == 0;
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\IPC\HttpTestHostGateway.cs (1)
280uri.Fragment.Length != 0 ||
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\UriSchemeKeyedCollection.cs (1)
74if (!string.IsNullOrEmpty(uri.Fragment))
Microsoft.Maui.Controls (1)
Shell\ShellUriHandler.cs (1)
217 var navigationRequest = new ShellNavigationRequest(definition, whatDoIDo, request.Query, request.Fragment);
Microsoft.Maui.Essentials (3)
Types\Shared\WebUtils.shared.cs (3)
21 if (!string.IsNullOrEmpty(uri.Fragment)) 22 UnpackParameters(uri.Fragment.AsSpan(1), parameters); 87 return new Uri(uri.Scheme + "://" + idn.GetAscii(uri.Authority) + uri.PathAndQuery + uri.Fragment);
PresentationCore (1)
MS\Internal\FontCache\FontSource.cs (1)
73Debug.Assert(_isInternalCompositeFont || String.IsNullOrEmpty(_fontUri.Fragment));
PresentationFramework (6)
MS\Internal\Utility\BindUriHelper.cs (1)
158frag = workuri.Fragment;
System\Windows\Documents\FixedPage.cs (2)
634String fragment = workuri.Fragment; 1093String fragment = startPartUri.Fragment;
System\Windows\Navigation\JournalEntry.cs (1)
334string relativeUri = uri.AbsolutePath + uri.Query + uri.Fragment;
System\Windows\Navigation\NavigationService.cs (2)
311isSame = isSame && string.Equals(aResolved.Fragment, bResolved.Fragment, StringComparison.OrdinalIgnoreCase);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContext.cs (1)
55return uri.LocalPath + uri.Fragment;
System.IO.Packaging (2)
System\IO\Packaging\PackUriHelper.PackUriScheme.cs (2)
90if (!string.IsNullOrEmpty(packageUri.Fragment)) 309if (packageUri.Fragment != string.Empty)
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (2)
124string requestFragment = requestUri.Fragment; 127string redirectFragment = location.Fragment;
System.Net.Security (2)
src\runtime\src\libraries\Common\src\System\Net\Http\X509ResourceClient.cs (2)
297string requestFragment = requestUri.Fragment; 300string redirectFragment = location.Fragment;
System.Private.Uri (2)
System\UriBuilder.cs (1)
310_fragment = _uri.Fragment;
System\UriCreationOptions.cs (1)
32/// <see cref="Uri"/> instances created with this option do not support <see cref="Uri.Fragment"/>s.
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Net\Http\X509ResourceClient.cs (2)
297string requestFragment = requestUri.Fragment; 300string redirectFragment = location.Fragment;
System.ServiceModel.Primitives (1)
System\ServiceModel\UriSchemeKeyedCollection.cs (1)
81if (!string.IsNullOrEmpty(uri.Fragment))
System.Speech (2)
Recognition\RecognizerBase.cs (2)
1447string? topicName = string.IsNullOrEmpty(uri.Fragment) ? null : uri.Fragment.Substring(1);
System.Windows.Forms (3)
System\Windows\Forms\Help\Help.cs (3)
257string localPath = file.LocalPath + file.Fragment; 281string localPath = file.LocalPath + file.Fragment; 304string ext = Path.GetExtension(file is null ? url : file.LocalPath + file.Fragment).ToLower(CultureInfo.InvariantCulture);