28 instantiations of UriFormatException
Infrastructure.Common (1)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.Extensions.AI.Abstractions (4)
PresentationCore (3)
System.Private.Uri (17)
85 references to UriFormatException
Aspire.Hosting (1)
dotnet-svcutil-lib (1)
Infrastructure.Common (1)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.Build (1)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.Extensions.AI.Abstractions.Tests (16)
Contents\DataContentTests.cs (15)
27[InlineData("data:", typeof(UriFormatException))] // data missing comma
28[InlineData("data:something,", typeof(UriFormatException))] // mime type without subtype
29[InlineData("data:something;else,data", typeof(UriFormatException))] // mime type without subtype
30[InlineData("data:type/subtype;;parameter=value;else,", typeof(UriFormatException))] // parameter without value
31[InlineData("data:type/subtype;parameter=va=lue;else,", typeof(UriFormatException))] // parameter with multiple =
32[InlineData("data:type/subtype;=value;else,", typeof(UriFormatException))] // empty parameter name
33[InlineData("data:image/j/peg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD", typeof(UriFormatException))] // multiple slashes in media type
36[InlineData("data:text;base64,something!", typeof(UriFormatException))] // Invalid base64 due to invalid character '!'
37[InlineData("data:text/plain;base64,U29tZQ==\t", typeof(UriFormatException))] // Invalid base64 due to tab character
38[InlineData("data:text/plain;base64,U29tZQ==\r", typeof(UriFormatException))] // Invalid base64 due to carriage return character
39[InlineData("data:text/plain;base64,U29tZQ==\n", typeof(UriFormatException))] // Invalid base64 due to line feed character
40[InlineData("data:text/plain;base64,U29t\r\nZQ==", typeof(UriFormatException))] // Invalid base64 due to carriage return and line feed characters
41[InlineData("data:text/plain;base64,U29", typeof(UriFormatException))] // Invalid base64 due to missing padding
42[InlineData("data:text/plain;base64,U29tZQ", typeof(UriFormatException))] // Invalid base64 due to missing padding
43[InlineData("data:text/plain;base64,U29tZQ=", typeof(UriFormatException))] // Invalid base64 due to missing padding
Microsoft.Maui.Essentials (12)
Microsoft.VisualStudio.LanguageServices (1)
MSBuild (1)
MSBuildTaskHost (1)
netstandard (1)
PresentationCore (1)
PresentationUI (1)
ReachFramework (1)
System (1)
System.Net.WebClient (1)
System.Private.Uri (21)
System.Runtime (1)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.Primitives.Tests (2)
System.Windows.Forms (5)
WindowsBase.Tests (1)