System\Drawing\Icon.cs (5)
100?? throw new ArgumentException(SR.Format(SR.ResourceNotFound, type, resource));
417throw new ArgumentException(SR.Format(SR.InvalidPictureType, "picture", nameof(Icon)));
451throw new ArgumentException(SR.Format(SR.InvalidPictureType, "picture", nameof(Icon)));
516throw new ArgumentException(SR.Format(SR.InvalidPictureType, "picture", nameof(Icon)));
536throw new ArgumentException(SR.Format(SR.InvalidPictureType, "picture", nameof(Icon)));