14 writes to parsedDate
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (14)
213result.parsedDate = innerResult.parsedDate; 2724result.parsedDate = time; 2775result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Local); 2783result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2802result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2867result.parsedDate = new DateTime(utcTicks, DateTimeKind.Utc); 2894result.parsedDate = new DateTime(resultTicks, DateTimeKind.Utc); 2946result.parsedDate = DateTime.MinValue; 2950result.parsedDate = new DateTime(resultTicks, DateTimeKind.Local, isAmbiguousLocalDst); 3066result.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)
27return result.parsedDate; 43return result.parsedDate; 58result = resultData.parsedDate; 74result = resultData.parsedDate; 110return result.parsedDate; 127return result.parsedDate; 144result = resultData.parsedDate; 162result = resultData.parsedDate; 213result.parsedDate = innerResult.parsedDate; 2435return result.parsedDate; 2451return result.parsedDate; 2466result = resultData.parsedDate; 2482result = parseResult.parsedDate; 2771result.timeZoneOffset = TimeZoneInfo.GetLocalUtcOffset(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime); 2775result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Local); 2783result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2795Debug.Assert(result.parsedDate.Kind == DateTimeKind.Unspecified); 2802result.parsedDate = DateTime.SpecifyKind(result.parsedDate, DateTimeKind.Utc); 2828result.timeZoneOffset = TimeZoneInfo.GetLocalUtcOffset(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime); 2836long utcTicks = result.parsedDate.Ticks - offsetTicks; 2882long resultTicks = result.parsedDate.Ticks; 2907long resultTicks = result.parsedDate.Ticks; 2920resultTicks += tz.GetUtcOffset(bTimeOnly ? DateTime.Now : result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks; 2935resultTicks += 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);