5 references to Ticks
System.ComponentModel.TypeConverter (2)
System\ComponentModel\TimeOnlyConverter.cs (2)
93
if (time.
Ticks
== 0)
95
return 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)
217
public 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);