176 references to InvalidEnumArgumentException
Microsoft.Data.Analysis (1)
Microsoft.Data.Analysis.Tests (1)
Microsoft.VisualBasic.Core (4)
PresentationCore (40)
PresentationFramework (24)
System.Diagnostics.Process (2)
System.DirectoryServices.Protocols (9)
System.Drawing.Common (32)
System\Drawing\Graphics.cs (8)
234throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(Drawing2D.CompositingMode));
251throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(Drawing2D.CompositingQuality));
291throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(Drawing2D.InterpolationMode));
339throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(GraphicsUnit));
356throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(PixelOffsetMode));
384throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(Drawing2D.SmoothingMode));
415throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(TextRenderingHint));
2729throw new InvalidEnumArgumentException(nameof(copyPixelOperation), (int)copyPixelOperation, typeof(CopyPixelOperation));
System\Drawing\Pen.cs (6)
204throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(LineCap));
246throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(LineCap));
325throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(DashCap));
354throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(LineJoin));
407throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(PenAlignment));
663throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(DashStyle));
System.Private.Windows.Core (1)
System.ServiceModel.Federation (1)
System.ServiceModel.Http (1)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetTcp (1)
System.ServiceModel.Primitives (18)
System\ServiceModel\Security\SecurityUtils.cs (5)
41throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException(nameof(value), (int)value,
79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value,
110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException(nameof(impersonationLevel), (int)impersonationLevel,
163throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("y", (int)y,
171throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("x", (int)x,
System.ServiceModel.UnixDomainSocket (1)
System.Windows.Forms (33)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Primitives (2)
UIAutomationClientSideProviders (3)