6 references to InvalidArgumentValue
System.Drawing.Common (6)
System\Drawing\BufferedGraphicsContext.cs (1)
54throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, nameof(MaximumBuffer), value), nameof(value));
System\Drawing\Drawing2D\LinearGradientBrush.cs (2)
185throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, "value.Positions", value.Positions), nameof(value)); 249throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, "value.Positions", value.Positions), nameof(value));
System\Drawing\Drawing2D\PathGradientBrush.cs (2)
232throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, "value.Positions", value.Positions), nameof(value)); 297throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, "value.Positions", value.Positions), nameof(value));
System\Drawing\StringFormat.cs (1)
222throw new ArgumentException(SR.Format(SR.InvalidArgumentValue, nameof(firstTabOffset), firstTabOffset));