15 references to InvalidEnumArgumentException
Aspire.Hosting (1)
Dcp\DcpExecutor.cs (1)
327
_ => throw new System.ComponentModel.
InvalidEnumArgumentException
($"Cannot convert {nameof(WatchEventType)} with value {watchEventType} into enum of type {nameof(ResourceSnapshotChangeType)}.")
Microsoft.Maui.Controls (4)
LegacyLayouts\Grid.cs (4)
406
throw new
InvalidEnumArgumentException
($"{nameof(view)} must be a BindableObject");
416
throw new
InvalidEnumArgumentException
($"{nameof(view)} must be a BindableObject");
426
throw new
InvalidEnumArgumentException
($"{nameof(view)} must be a BindableObject");
436
throw new
InvalidEnumArgumentException
($"{nameof(view)} must be a BindableObject");
PresentationCore (8)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
182
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, nameof(actions)));
238
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, nameof(actions)));
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
158
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, nameof(systemGesture)));
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
36
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, "systemGesture"));
78
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, "systemGesture"));
System\Windows\Media\Animation\ClockController.cs (2)
157
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin"));
199
throw new
InvalidEnumArgumentException
(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin"));
System\Windows\Media\Animation\TimeManager.cs (1)
258
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));