src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (10)
5204return new FormatException(SR.Format(SR.Format_BadDatePattern, new string(result.failureSpanArgument)));
5206return new FormatException(SR.Format(SR.Format_BadDateTime, new string(result.failureSpanArgument)));
5208return new FormatException(SR.Format(SR.Format_BadDateTimeCalendar, new string(result.failureSpanArgument), result.calendar));
5210return new FormatException(SR.Format(SR.Format_BadDayOfWeek, new string(result.failureSpanArgument)));
5212return new FormatException(SR.Format(SR.Format_BadFormatSpecifier, new string(result.failureSpanArgument)));
5216return new FormatException(SR.Format(SR.Format_DateOutOfRange, new string(result.failureSpanArgument)));
5218return new FormatException(SR.Format(SR.Format_MissingIncompleteDate, new string(result.failureSpanArgument)));
5222return new FormatException(SR.Format(SR.Format_OffsetOutOfRange, new string(result.failureSpanArgument)));
5226return new FormatException(SR.Format(SR.Format_UnknownDateTimeWord, new string(result.failureSpanArgument), result.failureIntArgument));
5228return new FormatException(SR.Format(SR.Format_UTCOutOfRange, new string(result.failureSpanArgument)));