14 writes to parsedDate
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (14)
212result.parsedDate = innerResult.parsedDate; 2722result.parsedDate = time; 2773result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Local); 2781result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2800result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2865result.parsedDate = new DateTime(utcTicks, DateTimeKind.Utc); 2892result.parsedDate = new DateTime(resultTicks, DateTimeKind.Utc); 2944result.parsedDate = DateTime.MinValue; 2948result.parsedDate = new DateTime(resultTicks, DateTimeKind.Local, isAmbiguousLocalDst); 3064result.parsedDate = time; 4754result.Hour, result.Minute, result.Second, 0, result.era, out result.parsedDate)) 4761if (!result.parsedDate.TryAddTicks((long)Math.Round(result.fraction * TimeSpan.TicksPerSecond), out result.parsedDate)) 4967if (!DateTime.TryCreate(year, month, day, hour, minute, second, 0, out result.parsedDate)) 5106if (!dateTime.TryAddTicks((long)Math.Round(fraction * TimeSpan.TicksPerSecond), out result.parsedDate))
33 references to parsedDate
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
461result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate)); 526result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate)); 594result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate));
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (27)
26return result.parsedDate; 42return result.parsedDate; 57result = resultData.parsedDate; 73result = resultData.parsedDate; 109return result.parsedDate; 126return result.parsedDate; 143result = resultData.parsedDate; 161result = resultData.parsedDate; 212result.parsedDate = innerResult.parsedDate; 2429return result.parsedDate; 2445return result.parsedDate; 2460result = resultData.parsedDate; 2476result = parseResult.parsedDate; 2769result.timeZoneOffset = TimeZoneInfo.GetLocalUtcOffset(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime); 2773result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Local); 2781result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2793Debug.Assert(result.parsedDate.Kind == DateTimeKind.Unspecified); 2800result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2826result.timeZoneOffset = TimeZoneInfo.GetLocalUtcOffset(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime); 2834long utcTicks = result.parsedDate.Ticks - offsetTicks; 2880long resultTicks = result.parsedDate.Ticks; 2905long resultTicks = result.parsedDate.Ticks; 2918resultTicks += tz.GetUtcOffset(bTimeOnly ? DateTime.Now : result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks; 2933resultTicks += tz.GetUtcOffset(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks; 4761if (!result.parsedDate.TryAddTicks((long)Math.Round(result.fraction * TimeSpan.TicksPerSecond), out result.parsedDate)) 4778if (parseInfo.dayOfWeek != (int)parseInfo.calendar.GetDayOfWeek(result.parsedDate)) 4974if (dayOfWeek != result.parsedDate.DayOfWeek)
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
631result = FromDateTime(dtResult.parsedDate); 697result = FromDateTime(dtResult.parsedDate); 764result = FromDateTime(dtResult.parsedDate);