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)
86 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 (4)
Microsoft.Extensions.AI.Abstractions.Tests (16)
Contents\DataContentTests.cs (15)
26[InlineData("data:", typeof(UriFormatException))] // data missing comma
27[InlineData("data:something,", typeof(UriFormatException))] // mime type without subtype
28[InlineData("data:something;else,data", typeof(UriFormatException))] // mime type without subtype
29[InlineData("data:type/subtype;;parameter=value;else,", typeof(UriFormatException))] // parameter without value
30[InlineData("data:type/subtype;parameter=va=lue;else,", typeof(UriFormatException))] // parameter with multiple =
31[InlineData("data:type/subtype;=value;else,", typeof(UriFormatException))] // empty parameter name
32[InlineData("data:image/j/peg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD", typeof(UriFormatException))] // multiple slashes in media type
35[InlineData("data:text;base64,something!", typeof(UriFormatException))] // Invalid base64 due to invalid character '!'
36[InlineData("data:text/plain;base64,U29tZQ==\t", typeof(UriFormatException))] // Invalid base64 due to tab character
37[InlineData("data:text/plain;base64,U29tZQ==\r", typeof(UriFormatException))] // Invalid base64 due to carriage return character
38[InlineData("data:text/plain;base64,U29tZQ==\n", typeof(UriFormatException))] // Invalid base64 due to line feed character
39[InlineData("data:text/plain;base64,U29t\r\nZQ==", typeof(UriFormatException))] // Invalid base64 due to carriage return and line feed characters
40[InlineData("data:text/plain;base64,U29", typeof(UriFormatException))] // Invalid base64 due to missing padding
41[InlineData("data:text/plain;base64,U29tZQ", typeof(UriFormatException))] // Invalid base64 due to missing padding
42[InlineData("data:text/plain;base64,U29tZQ=", typeof(UriFormatException))] // Invalid base64 due to missing padding
Microsoft.Maui (2)
Microsoft.Maui.Controls.Compatibility (1)
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)