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