Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetBadTimeSpanFailure()

bool System.Globalization.TimeSpanParse.TimeSpanResult.SetBadTimeSpanFailure ( )
inlinepackage

Definition at line 487 of file TimeSpanParse.cs.

488 {
489 if (!_throwOnFailure)
490 {
491 return false;
492 }
493 throw new FormatException(SR.Format(SR.Format_BadTimeSpan, new string(_originalTimeSpanString)));
494 }
readonly ReadOnlySpan< char > _originalTimeSpanString

References System.Globalization.TimeSpanParse.TimeSpanResult._originalTimeSpanString, System.Globalization.TimeSpanParse.TimeSpanResult._throwOnFailure, System.SR.Format(), and System.SR.Format_BadTimeSpan.