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

◆ SetOverflowFailure()

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

Definition at line 478 of file TimeSpanParse.cs.

479 {
480 if (!_throwOnFailure)
481 {
482 return false;
483 }
484 throw new OverflowException(SR.Format(SR.Overflow_TimeSpanElementTooLarge, new string(_originalTimeSpanString)));
485 }
readonly ReadOnlySpan< char > _originalTimeSpanString

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