13 references to MakeRelativeUri
BuildActionTelemetryTable (1)
Program.cs (1)
473var relativePath = baseUri.MakeRelativeUri(new Uri(rootedPath));
Microsoft.AspNetCore.Components.WebView (1)
StaticContentProvider.cs (1)
28var relativePath = _appBaseUri.MakeRelativeUri(fileUri).ToString();
Microsoft.CodeAnalysis (1)
CommandLine\SarifErrorLogger.cs (1)
161return s_fileRoot.MakeRelativeUri(new Uri(s_fileRoot, uri)).ToString();
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.iOS.cs (1)
178 var relativePath = AppOriginUri.MakeRelativeUri(uri).ToString().Replace('\\', '/');
Microsoft.ML.Parquet (1)
PartitionedPathUtils.cs (1)
42relativePath = Uri.UnescapeDataString(baseUri.MakeRelativeUri(uri).ToString());
PresentationCore (4)
MS\Internal\WpfWebRequestHelper.cs (3)
83Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(uri); 201Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(request.RequestUri); 217Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
System\Windows\Navigation\BaseUriHelper.cs (1)
360return (new Uri(sUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.UriEscaped))).MakeRelativeUri(sUri);
PresentationFramework (1)
MS\Internal\Utility\BindUriHelper.cs (1)
186Uri relative = packUri.MakeRelativeUri(resolved);
ReachFramework (1)
Packaging\XpsManager.cs (1)
1521Uri relativeUri = baseUri.MakeRelativeUri(fileUri);
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
125return sourcePartUri.MakeRelativeUri(targetPartUri);
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\FeedUtils.cs (1)
104uriToWrite = rootBase.MakeRelativeUri(currentBase);