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)
23DateTimeResult result = default; // The buffer to store the parsing result. 37DateTimeResult result = default; // The buffer to store the parsing result. 53DateTimeResult resultData = default; // The buffer to store the parsing result. 68DateTimeResult resultData = default; // The buffer to store the parsing result. 84internal static bool TryParseExact(ReadOnlySpan<char> s, ReadOnlySpan<char> format, DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref DateTimeResult result) 106DateTimeResult result = default; // The buffer to store the parsing result. 121DateTimeResult result = default; // The buffer to store the parsing result. 138DateTimeResult resultData = default; // The buffer to store the parsing result. 157DateTimeResult resultData = default; // The buffer to store the parsing result. 171DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref DateTimeResult result) 208DateTimeResult innerResult = default; // The buffer to store the parsing result. 579private static bool HandleTimeZone(ref __DTString str, scoped ref DateTimeResult result) 615private 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) 1501private static bool TryAdjustYear(ref DateTimeResult result, int year, out int adjustedYear) 1523private static bool SetDateYMD(ref DateTimeResult result, int year, int month, int day) 1535private static bool SetDateMDY(ref DateTimeResult result, int month, int day, int year) 1540private static bool SetDateDMY(ref DateTimeResult result, int day, int month, int year) 1545private static bool SetDateYDM(ref DateTimeResult result, int year, int day, int month) 1550private static void GetDefaultYear(ref DateTimeResult result, scoped ref DateTimeStyles styles) 1557private static bool GetDayOfNN(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1599private static bool GetDayOfNNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1655private static bool GetDayOfMN(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1714private static bool GetHebrewDayOfNM(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1734private static bool GetDayOfNM(ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1787private static bool GetDayOfMNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1856private static bool GetDayOfYNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1890private static bool GetDayOfNNY(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 1928private static bool GetDayOfYMN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 1946private static bool GetDayOfYN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 1964private static bool GetDayOfYM(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2036private static bool GetTimeOfN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2057private static bool GetTimeOfNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2073private static bool GetTimeOfNNN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2092private static bool GetDateOfDSN(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2103private static bool GetDateOfNDS(ref DateTimeResult result, scoped ref DateTimeRawInfo raw) 2127private static bool GetDateOfNNDS(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2176private static bool ProcessDateTimeSuffix(ref DateTimeResult result, scoped ref DateTimeRawInfo raw, scoped ref DateTimeToken dtok) 2240internal static bool ProcessHebrewTerminalState(DS dps, scoped ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2350internal static bool ProcessTerminalState(DS dps, scoped ref DateTimeResult result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi) 2431DateTimeResult result = default; // The buffer to store the parsing result. 2445DateTimeResult result = default; // The buffer to store the parsing result. 2461DateTimeResult resultData = default; // The buffer to store the parsing result. 2476DateTimeResult parseResult = default; // The buffer to store the parsing result. 2495internal static bool TryParse(ReadOnlySpan<char> s, DateTimeFormatInfo dtfi, DateTimeStyles styles, scoped ref DateTimeResult result) 2736private static bool DetermineTimeZoneAdjustments(ref DateTimeResult result, DateTimeStyles styles, bool bTimeOnly) 2814private static bool DateTimeOffsetTimeZonePostProcessing(ref DateTimeResult result, DateTimeStyles styles) 2880private static bool AdjustTimeZoneToUniversal(ref DateTimeResult result) 2905private static bool AdjustTimeZoneToLocal(ref DateTimeResult result, bool bTimeOnly) 2958private static bool ParseISO8601(scoped ref DateTimeRawInfo raw, ref __DTString str, DateTimeStyles styles, scoped ref DateTimeResult result) 3821private static bool CheckNewValue(scoped ref int currentValue, int newValue, char patternChar, scoped ref DateTimeResult result) 3839private static DateTime GetDateTimeNow(scoped ref DateTimeResult result, scoped ref DateTimeStyles styles) 3850private static bool CheckDefaultDateTime(scoped ref DateTimeResult result, scoped ref Calendar cal, DateTimeStyles styles) 3951private static string ExpandPredefinedFormat(char format, scoped ref DateTimeFormatInfo dtfi, scoped ref ParsingInfo parseInfo, scoped ref DateTimeResult result) 4031scoped 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;