5 references to Ticks
System.ComponentModel.TypeConverter (2)
System\ComponentModel\TimeOnlyConverter.cs (2)
93if (time.Ticks == 0) 95return new InstanceDescriptor(typeof(TimeOnly).GetConstructor(new Type[] { typeof(long) }), new object[] { time.Ticks });
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
217public DateTime ToDateTime(TimeOnly time) => DateTime.CreateUnchecked(_dayNumber * TimeSpan.TicksPerDay + time.Ticks);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (2)
176_dateData = (ulong)(date.DayNumber * TimeSpan.TicksPerDay + time.Ticks); 195_dateData = (ulong)(date.DayNumber * TimeSpan.TicksPerDay + time.Ticks) | ((ulong)(uint)kind << KindShift);