7 instantiations of TimeSpanResult
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (7)
629
var parseResult = new
TimeSpanResult
(throwOnFailure: true, originalTimeSpanString: input);
637
var parseResult = new
TimeSpanResult
(throwOnFailure: false, originalTimeSpanString: input);
651
var parseResult = new
TimeSpanResult
(throwOnFailure: true, originalTimeSpanString: input);
659
var parseResult = new
TimeSpanResult
(throwOnFailure: false, originalTimeSpanString: input);
673
var parseResult = new
TimeSpanResult
(throwOnFailure: true, originalTimeSpanString: input);
681
var parseResult = new
TimeSpanResult
(throwOnFailure: false, originalTimeSpanString: input);
1691
TimeSpanResult innerResult = new
TimeSpanResult
(throwOnFailure: false, originalTimeSpanString: input);
24 references to TimeSpanResult
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (24)
420
internal bool ProcessToken(ref TimeSpanToken tok, ref
TimeSpanResult
result)
451
private bool AddSep(ReadOnlySpan<char> sep, ref
TimeSpanResult
result)
471
private bool AddNum(TimeSpanToken num, ref
TimeSpanResult
result)
629
var
parseResult = new TimeSpanResult(throwOnFailure: true, originalTimeSpanString: input);
637
var
parseResult = new TimeSpanResult(throwOnFailure: false, originalTimeSpanString: input);
651
var
parseResult = new TimeSpanResult(throwOnFailure: true, originalTimeSpanString: input);
659
var
parseResult = new TimeSpanResult(throwOnFailure: false, originalTimeSpanString: input);
673
var
parseResult = new TimeSpanResult(throwOnFailure: true, originalTimeSpanString: input);
681
var
parseResult = new TimeSpanResult(throwOnFailure: false, originalTimeSpanString: input);
694
private static bool TryParseTimeSpan(ReadOnlySpan<char> input, TimeSpanStandardStyles style, IFormatProvider? formatProvider, ref
TimeSpanResult
result)
744
private static bool ProcessTerminalState(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
768
private static bool ProcessTerminal_DHMSF(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
838
private static bool ProcessTerminal_HMS_F_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
964
private static bool ProcessTerminal_HM_S_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
1090
private static bool ProcessTerminal_HM(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
1159
private static bool ProcessTerminal_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref
TimeSpanResult
result)
1228
private static bool TryParseExactTimeSpan(ReadOnlySpan<char> input, ReadOnlySpan<char> format, IFormatProvider? formatProvider, TimeSpanStyles styles, ref
TimeSpanResult
result)
1250
private static bool TryParseByFormat(ReadOnlySpan<char> input, ReadOnlySpan<char> format, TimeSpanStyles styles, ref
TimeSpanResult
result)
1466
private static bool TryParseTimeSpanConstant(ReadOnlySpan<char> input, ref
TimeSpanResult
result) =>
1496
internal bool TryParse(ReadOnlySpan<char> input, ref
TimeSpanResult
result)
1568
internal bool ParseInt(int max, out int i, ref
TimeSpanResult
result)
1601
internal bool ParseTime(out long time, ref
TimeSpanResult
result)
1662
private static bool TryParseExactMultipleTimeSpan(ReadOnlySpan<char> input, string?[]? formats, IFormatProvider? formatProvider, TimeSpanStyles styles, ref
TimeSpanResult
result)
1691
TimeSpanResult
innerResult = new TimeSpanResult(throwOnFailure: false, originalTimeSpanString: input);