64 references to DateTimeResult
System.Private.CoreLib (64)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
446DateTimeResult dtResult = default; 511DateTimeResult dtResult = default; 590DateTimeResult dtResult = default;
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (58)
22DateTimeResult result = default; // The buffer to store the parsing result. 36DateTimeResult result = default; // The buffer to store the parsing result. 52DateTimeResult resultData = default; // The buffer to store the parsing result. 67DateTimeResult resultData = default; // The buffer to store the parsing result. 83internal static bool TryParseExact(ReadOnlySpan<char> s, ReadOnlySpan<char> format, DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref DateTimeResult result) 105DateTimeResult result = default; // The buffer to store the parsing result. 120DateTimeResult result = default; // The buffer to store the parsing result. 137DateTimeResult resultData = default; // The buffer to store the parsing result. 156DateTimeResult resultData = default; // The buffer to store the parsing result. 170DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref DateTimeResult result) 207DateTimeResult innerResult = default; // The buffer to store the parsing result. 569private static bool HandleTimeZone(ref __DTString str, scoped ref DateTimeResult result) 605private static bool Lex(DS dps, ref __DTString str, scoped ref DateTimeToken dtok, scoped ref DateTimeRawInfo raw, scoped ref DateTimeResult result, scoped ref DateTimeFormatInfo dtfi, DateTimeStyles styles) 1495private static bool TryAdjustYear(ref DateTimeResult result, int year, out int adjustedYear) 1517private static bool SetDateYMD(ref DateTimeResult result, int year, int month, int day) 1529private static bool SetDateMDY(ref DateTimeResult result, int month, int day, int year) 1534private static bool SetDateDMY(ref DateTimeResult result, int day, int month, int year) 1539private static bool SetDateYDM(ref DateTimeResult result, int year, int day, int month) 1544private static void GetDefaultYear(ref DateTimeResult result, scoped ref DateTimeStyles styles) 1551private static bool GetDayOfNN(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1593private static bool GetDayOfNNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1649private static bool GetDayOfMN(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1708private static bool GetHebrewDayOfNM(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1728private static bool GetDayOfNM(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1781private static bool GetDayOfMNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1850private static bool GetDayOfYNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1884private static bool GetDayOfNNY(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1922private static bool GetDayOfYMN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 1940private static bool GetDayOfYN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 1958private static bool GetDayOfYM(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2030private static bool GetTimeOfN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2051private static bool GetTimeOfNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2067private static bool GetTimeOfNNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2086private static bool GetDateOfDSN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2097private static bool GetDateOfNDS(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2121private static bool GetDateOfNNDS(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2170private static bool ProcessDateTimeSuffix(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, scoped ref DateTimeToken dtok) 2234internal static bool ProcessHebrewTerminalState(DS dps, scoped ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2344internal static bool ProcessTerminalState(DS dps, scoped ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2425DateTimeResult result = default; // The buffer to store the parsing result. 2439DateTimeResult result = default; // The buffer to store the parsing result. 2455DateTimeResult resultData = default; // The buffer to store the parsing result. 2470DateTimeResult parseResult = default; // The buffer to store the parsing result. 2489internal static bool TryParse(ReadOnlySpan<char> s, DateTimeFormatInfo dtfi, DateTimeStyles styles, scoped ref DateTimeResult result) 2734private static bool DetermineTimeZoneAdjustments(ref DateTimeResult result, DateTimeStyles styles, bool bTimeOnly) 2812private static bool DateTimeOffsetTimeZonePostProcessing(ref DateTimeResult result, DateTimeStyles styles) 2878private static bool AdjustTimeZoneToUniversal(ref DateTimeResult result) 2903private static bool AdjustTimeZoneToLocal(ref DateTimeResult result, bool bTimeOnly) 2956private static bool ParseISO8601(scoped ref DateTimeRawInfo raw, ref __DTString str, DateTimeStyles styles, scoped ref DateTimeResult result) 3819private static bool CheckNewValue(scoped ref int currentValue, int newValue, char patternChar, scoped ref DateTimeResult result) 3837private static DateTime GetDateTimeNow(scoped ref DateTimeResult result, scoped ref DateTimeStyles styles) 3848private static bool CheckDefaultDateTime(scoped ref DateTimeResult result, scoped ref Calendar cal, DateTimeStyles styles) 3949private static string ExpandPredefinedFormat(char format, scoped ref DateTimeFormatInfo dtfi, scoped ref ParsingInfo parseInfo, scoped ref DateTimeResult result) 4029scoped ref DateTimeResult result) 4593scoped ref DateTimeResult result) 4788private static bool TryParseFormatR(ReadOnlySpan<char> source, scoped ref DateTimeResult result) 4983private static bool TryParseFormatO(ReadOnlySpan<char> source, scoped ref DateTimeResult result) 5197private static Exception GetDateTimeParseException(scoped ref DateTimeResult result)
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
615DateTimeResult dtResult = default; 682DateTimeResult dtResult = default; 760DateTimeResult dtResult = default;