324 references to Uri
Aspire.Dashboard (3)
Aspire.Dashboard.Tests (2)
Aspire.Hosting (3)
Aspire.Hosting.GitHub.Models (2)
Aspire.Hosting.OpenAI (2)
Aspire.Hosting.Tests (2)
AuthSamples.FunctionalTests (1)
dotnet-svcutil-lib (17)
dotnet-watch-test-browser (1)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.Cors.Test (2)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis.EditorFeatures (5)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (2)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Microsoft.Maui.Controls (13)
Microsoft.Maui.Controls.Build.Tasks (2)
Microsoft.Maui.Controls.Xaml (4)
Microsoft.NET.Build.Containers.UnitTests (8)
Microsoft.NET.Sdk.Publish.Tasks (3)
Microsoft.NET.Sdk.Publish.Tasks.Tests (4)
Microsoft.VisualStudio.LanguageServices (37)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Microsoft.VisualStudio.LanguageServices.Implementation (7)
PresentationCore (12)
PresentationFramework (27)
PresentationFramework.Fluent.Tests (1)
PresentationFramework.Tests (1)
PresentationUI (4)
ReachFramework (36)
Packaging\XpsFixedPageReaderWriter.cs (7)
752_metroPart.CreateRelationship(new Uri(relativePath, UriKind.Relative),
835_metroPart.CreateRelationship(new Uri(resourcePath, UriKind.Relative),
872_metroPart.CreateRelationship(new Uri(storyFragmentPath, UriKind.Relative),
1631_metroPart.CreateRelationship(new Uri(resourcePath, UriKind.Relative),
1672_metroPart.CreateRelationship(new Uri(resourcePath, UriKind.Relative),
1744_metroPart.CreateRelationship(new Uri(resourcePath, UriKind.Relative),
1782_metroPart.CreateRelationship(new Uri(resourcePath, UriKind.Relative),
Packaging\XpsManager.cs (10)
110_uri = new Uri(path, UriKind.RelativeOrAbsolute);
398System.Uri partUri = PackUriHelper.CreatePartUri(new Uri(uniqueUri, UriKind.Relative));
451metroPart.CreateRelationship(new Uri(relativePath, UriKind.Relative),
505metroPart.CreateRelationship(new Uri(relativePath, UriKind.Relative),
926return new Uri("/Documents/" + docCounter + "/Structure/DocStructure.struct",
949return new Uri("/Documents/" + docCounter + "/Structure/Fragments/"+pageNumber+".frag",
1024return PackUriHelper.CreatePartUri(new Uri(uniqueUri, UriKind.Relative));
1061return PackUriHelper.CreatePartUri(new Uri(uniqueUri, UriKind.Relative));
1157return PackUriHelper.CreatePartUri(new Uri(uniqueUri, UriKind.Relative));
1521Uri unescapedUri = new Uri(relativeUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.RelativeOrAbsolute);
Roslyn.VisualStudio.DiagnosticsWindow (4)
System.ComponentModel.TypeConverter (3)
System.Configuration.ConfigurationManager (1)
System.IO.Packaging (13)
System.Net.Http (2)
System.Net.Http.Json (1)
System.Private.DataContractSerialization (2)
System.Private.Uri (2)
System.Private.Xml (11)
System.ServiceModel.Syndication (6)
System.Windows.Forms.Tests (4)
System.Xaml (6)
System.Xaml.Tests (38)
System\Xaml\Replacements\TypeUriConverterTests.cs (38)
65yield return new object[] { "", new Uri("", UriKind.Relative) };
66yield return new object[] { "http://google.com", new Uri("http://google.com", UriKind.Absolute) };
67yield return new object[] { "/path", new Uri("/path", UriKind.Relative) };
68yield return new object[] { "c:\\dir\\file", new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute) };
69yield return new object[] { "my:scheme/path?query", new Uri("my:scheme/path?query", UriKind.RelativeOrAbsolute) };
71yield return new object[] { new Uri("", UriKind.Relative), new Uri("", UriKind.Relative) };
72yield return new object[] { new Uri("http://google.com", UriKind.Absolute), new Uri("http://google.com", UriKind.Absolute) };
73yield return new object[] { new Uri("/path", UriKind.Relative), new Uri("/path", UriKind.Relative) };
74yield return new object[] { new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute), new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute) };
75yield return new object[] { new Uri("my:scheme/path?query", UriKind.Absolute), new Uri("my:scheme/path?query", UriKind.Absolute) };
76yield return new object[] { new Uri("my:scheme/path?query", UriKind.RelativeOrAbsolute), new Uri("my:scheme/path?query", UriKind.RelativeOrAbsolute) };
119yield return new object[] { new Uri("", UriKind.Relative), new Uri("", UriKind.Relative) };
120yield return new object[] { new Uri("http://google.com", UriKind.Absolute), new Uri("http://google.com", UriKind.Absolute) };
121yield return new object[] { new Uri("/path", UriKind.Relative), new Uri("/path", UriKind.Relative) };
122yield return new object[] { new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute), new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute) };
123yield return new object[] { new Uri("my:scheme/path?query", UriKind.Absolute), new Uri("my:scheme/path?query", UriKind.Absolute) };
124yield return new object[] { new Uri("my:scheme/path?query", UriKind.RelativeOrAbsolute), new Uri("my:scheme/path?query", UriKind.Absolute) };
137yield return new object[] { new Uri("", UriKind.Relative), UriKind.Relative };
138yield return new object[] { new Uri("http://google.com", UriKind.Absolute), UriKind.Absolute };
139yield return new object[] { new Uri("/path", UriKind.Relative), UriKind.Relative };
140yield return new object[] { new Uri("c:\\dir\\file", UriKind.RelativeOrAbsolute), UriKind.RelativeOrAbsolute };
141yield return new object[] { new Uri("my:scheme/path?query", UriKind.Absolute), UriKind.Absolute };
142yield return new object[] { new Uri("my:scheme/path?query", UriKind.RelativeOrAbsolute), UriKind.Absolute };
188yield return new object?[] { new Uri("http://google.com", UriKind.Absolute), true };
189yield return new object?[] { new Uri("/path", UriKind.RelativeOrAbsolute), true };
190yield return new object?[] { new Uri("path", UriKind.RelativeOrAbsolute), true };
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
TestPassApp (1)
WindowsBase.Tests (7)
System\IO\Packaging\PackageDigitalSignatureManagerTests.cs (7)
29Assert.Equal(new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative), manager.SignatureOrigin);
281Assert.Equal(new Uri[] { new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative), new Uri("/package/services/digital-signature/_rels/origin.psdsor.rels", UriKind.Relative) }, parts);
288Assert.Equal(new Uri[] { new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative), new Uri("/package/services/digital-signature/_rels/origin.psdsor.rels", UriKind.Relative), new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative), new Uri("/package/services/digital-signature/_rels/origin.psdsor.rels", UriKind.Relative) }, parts);