8 writes to month
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (8)
1029raw.month = tokenValue; 2188result.Month = raw.month = dtok.num; 2242if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) 2254if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) 2275if (!dtfi.YearMonthAdjustment(ref result.Year, ref raw.month, true)) 2285if (!dtfi.YearMonthAdjustment(ref result.Year, ref raw.month, true)) 2297if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) 6017month = -1;
20 references to month
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (20)
980if (raw.month == -1) 1684if (!TryAdjustYear(ref result, raw.GetNumber(0), out int year) || !SetDateYMD(ref result, year, raw.month, 1)) 1694if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) 1715result.Month = raw.month; 1763if (!TryAdjustYear(ref result, raw.GetNumber(0), out int year) || !SetDateYMD(ref result, year, raw.month, 1)) 1773if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) 1802if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1804result.SetDate(year, raw.month, n1); // MDY 1808else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1810result.SetDate(year, raw.month, n2); // YMD 1817if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1819result.SetDate(year, raw.month, n2); // YMD 1823else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1825result.SetDate(year, raw.month, n1); // DMY 1832if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1834result.SetDate(year, raw.month, n1); // DMY 1838else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1840result.SetDate(year, raw.month, n2); // YMD 1931if (SetDateYMD(ref result, raw.year, raw.month, raw.GetNumber(0))) 1967if (SetDateYMD(ref result, raw.year, raw.month, 1))