10 references to InvalidEnumArgumentException
PresentationCore (8)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
192throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(actions))); 248throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(actions)));
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
162throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(systemGesture)));
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
41throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "systemGesture")); 83throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "systemGesture"));
System\Windows\Media\Animation\ClockController.cs (2)
170throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin")); 212throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin"));
System\Windows\Media\Animation\TimeManager.cs (1)
272throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin"));
System.ComponentModel.Primitives (1)
System\ComponentModel\InvalidEnumArgumentException.cs (1)
21public InvalidEnumArgumentException() : this(null)
System.Data.Common (1)
System\Data\DataException.cs (1)
344private static Exception _InvalidEnumArgumentException(string error) => TraceExceptionAsReturnValue(new InvalidEnumArgumentException(error));