134 instantiations of InvalidEnumArgumentException
Aspire.Hosting (1)
Microsoft.Data.Analysis (1)
Microsoft.Data.Analysis.Tests (1)
Microsoft.Maui.Controls (4)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualBasic.Forms (5)
PresentationCore (48)
PresentationFramework (24)
System.Data.Common (1)
System.Diagnostics.Process (2)
System.Private.Windows.Core (1)
System.ServiceModel.Federation (1)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.UnixDomainSocket (1)
System.Windows.Forms (33)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Primitives (2)
UIAutomationClientSideProviders (3)
249 references to InvalidEnumArgumentException
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.VisualBasic.Forms.Tests (2)
Microsoft.VisualBasic.Tests (2)
netstandard (1)
PresentationCore.Tests (1)
PresentationFramework (9)
System (1)
System.ComponentModel.Primitives (3)
System.ComponentModel.TypeConverter (1)
System.Drawing.Common.Tests (9)
System.Windows.Forms (2)
System.Windows.Forms.Analyzers.CSharp.Tests (1)
System.Windows.Forms.Design.Tests (1)
System.Windows.Forms.Tests (192)
WindowsBase.Tests (22)
System\Windows\Input\ModifierKeysConverterTests.cs (3)
116Assert.Throws<InvalidEnumArgumentException>("value", () => converter.ConvertTo(value, typeof(string)));
117Assert.Throws<InvalidEnumArgumentException>("value", () => converter.ConvertTo(new CustomTypeDescriptorContext(), null, value, typeof(string)));
118Assert.Throws<InvalidEnumArgumentException>("value", () => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, typeof(string)));
System\Windows\Threading\DispatcherTests.cs (8)
81Assert.Throws<InvalidEnumArgumentException>("priority", () => Dispatcher.ValidatePriority(priority, "priority"));
82Assert.Throws<InvalidEnumArgumentException>("", () => Dispatcher.ValidatePriority(priority, ""));
83Assert.Throws<InvalidEnumArgumentException>(() => Dispatcher.ValidatePriority(priority, null));
120Assert.Throws<InvalidEnumArgumentException>("priority", () => Dispatcher.Yield(priority));
144Assert.Throws<InvalidEnumArgumentException>("priority", () => dispatcher.BeginInvoke(priority, (Action)(() => { })));
145Assert.Throws<InvalidEnumArgumentException>("priority", () => dispatcher.BeginInvoke(priority, (Action<object>)((arg) => { }), new object()));
146Assert.Throws<InvalidEnumArgumentException>("priority", () => dispatcher.BeginInvoke(priority, (Action<object, object>)((arg1, arg2) => { }), new object(), new object[] { new object() }));
147Assert.Throws<InvalidEnumArgumentException>("priority", () => dispatcher.BeginInvoke(priority, (Action<object, object>)((arg1, arg2) => { }), new object[] { new object(), new object() }));