7 writes to month
mscorlib (7)
system\globalization\datetimeparse.cs (7)
1005raw.month = tokenValue; 2072result.Month= raw.month = dtok.num; 2121if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) { 2131if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) { 2143if (!dtfi.YearMonthAdjustment(ref result.Year, ref raw.month, true)) { 2153if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.month, true)) { 4937month = -1;
20 references to month
mscorlib (20)
system\globalization\datetimeparse.cs (20)
958if (raw.month == -1) 1611if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.month, 1)) { 1620if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) { 1641result.Month = raw.month; 1687if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.month, 1)) { 1696if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) { 1723if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1725result.SetDate(year, raw.month, n1); // MDY 1729else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1731result.SetDate(year, raw.month, n2); // YMD 1738if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1740result.SetDate(year, raw.month, n2); // YMD 1744else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1746result.SetDate(year, raw.month, n1); // DMY 1753if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1755result.SetDate(year, raw.month, n1); // DMY 1759else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1761result.SetDate(year, raw.month, n2); // YMD 1842if (SetDateYMD(ref result, raw.year, raw.month, raw.GetNumber(0))) { 1875if (SetDateYMD(ref result, raw.year, raw.month, 1))