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