9 references to Ticks
mscorlib (3)
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (1)
923
var ticks = value.
Ticks
;
system\timezoneinfo.cs (2)
716
if (ticks > DateTimeOffset.MaxValue.
Ticks
) {
719
else if (ticks < DateTimeOffset.MinValue.
Ticks
) {
System (2)
compmod\system\componentmodel\DateTimeOffsetConverter.cs (2)
142
if (dto.
Ticks
== 0) {
149
dto.
Ticks
});
System.Data (2)
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1038
return new DateTimeOffset(InternalAdjustTimeTicks(value.
Ticks
), value.Offset);
1299
smd = new SqlMetaData(name, SqlDbType.DateTimeOffset, 0, InferScaleFromTimeTicks(((DateTimeOffset)value).
Ticks
));
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
778
return new CodeObjectCreateExpression(TypeReference.DateTimeOffset, new CodePrimitiveExpression(dateTimeOffset.
Ticks
),
System.Xml (1)
System\Xml\BinaryXml\SqlUtils.cs (1)
982
return (int)(dt.
Ticks
- new DateTime(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks);