29 instantiations of UriFormatException
Infrastructure.Common (1)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.Extensions.AI.Abstractions (5)
PresentationCore (3)
System.Private.Uri (17)
87 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 (17)
Contents\DataContentTests.cs (17)
16[InlineData("invalid", typeof(UriFormatException))]
19[InlineData("data", typeof(UriFormatException))] // data missing colon
20[InlineData("data:", typeof(UriFormatException))] // data missing comma
21[InlineData("data:something,", typeof(UriFormatException))] // mime type without subtype
22[InlineData("data:something;else,data", typeof(UriFormatException))] // mime type without subtype
23[InlineData("data:type/subtype;;parameter=value;else,", typeof(UriFormatException))] // parameter without value
24[InlineData("data:type/subtype;parameter=va=lue;else,", typeof(UriFormatException))] // parameter with multiple =
25[InlineData("data:type/subtype;=value;else,", typeof(UriFormatException))] // empty parameter name
26[InlineData("data:image/j/peg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD", typeof(UriFormatException))] // multiple slashes in media type
29[InlineData("data:text;base64,something!", typeof(UriFormatException))] // Invalid base64 due to invalid character '!'
30[InlineData("data:text/plain;base64,U29tZQ==\t", typeof(UriFormatException))] // Invalid base64 due to tab character
31[InlineData("data:text/plain;base64,U29tZQ==\r", typeof(UriFormatException))] // Invalid base64 due to carriage return character
32[InlineData("data:text/plain;base64,U29tZQ==\n", typeof(UriFormatException))] // Invalid base64 due to line feed character
33[InlineData("data:text/plain;base64,U29t\r\nZQ==", typeof(UriFormatException))] // Invalid base64 due to carriage return and line feed characters
34[InlineData("data:text/plain;base64,U29", typeof(UriFormatException))] // Invalid base64 due to missing padding
35[InlineData("data:text/plain;base64,U29tZQ", typeof(UriFormatException))] // Invalid base64 due to missing padding
36[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)