11 writes to _ticks
mscorlib (11)
system\globalization\timespanparse.cs (8)
776
result.parsedTimeSpan.
_ticks
= ticks;
877
result.parsedTimeSpan.
_ticks
= ticks;
986
result.parsedTimeSpan.
_ticks
= ticks;
1053
result.parsedTimeSpan.
_ticks
= ticks;
1113
result.parsedTimeSpan.
_ticks
= ticks;
1311
result.parsedTimeSpan.
_ticks
= ticks;
1386
result.parsedTimeSpan.
_ticks
= 0;
1442
result.parsedTimeSpan.
_ticks
= time;
system\timespan.cs (3)
80
this.
_ticks
= ticks;
84
_ticks
= TimeToTicks(hours, minutes, seconds);
97
_ticks
= (long)totalMilliSeconds * TicksPerMillisecond;
70 references to _ticks
mscorlib (70)
system\datetime.cs (4)
433
return AddTicks(value.
_ticks
);
1338
long valueTicks = value.
_ticks
;
1487
long valueTicks = t.
_ticks
;
1496
long valueTicks = t.
_ticks
;
system\globalization\timespanformat.cs (8)
49
if (value.
_ticks
< 0)
73
int day = (int)(value.
_ticks
/ TimeSpan.TicksPerDay);
74
long time = value.
_ticks
% TimeSpan.TicksPerDay;
76
if (value.
_ticks
< 0) {
87
if (value.
_ticks
< 0)
150
int day = (int)(value.
_ticks
/ TimeSpan.TicksPerDay);
151
long time = value.
_ticks
% TimeSpan.TicksPerDay;
153
if (value.
_ticks
< 0) {
system\timespan.cs (58)
101
get { return
_ticks
; }
105
get { return (int)(
_ticks
/ TicksPerDay); }
109
get { return (int)((
_ticks
/ TicksPerHour) % 24); }
113
get { return (int)((
_ticks
/ TicksPerMillisecond) % 1000); }
117
get { return (int)((
_ticks
/ TicksPerMinute) % 60); }
121
get { return (int)((
_ticks
/ TicksPerSecond) % 60); }
125
get { return ((double)
_ticks
) * DaysPerTick; }
129
get { return (double)
_ticks
* HoursPerTick; }
134
double temp = (double)
_ticks
* MillisecondsPerTick;
146
get { return (double)
_ticks
* MinutesPerTick; }
150
get { return (double)
_ticks
* SecondsPerTick; }
154
long result =
_ticks
+ ts.
_ticks
;
158
if ((
_ticks
>> 63 == ts.
_ticks
>> 63) && (
_ticks
>> 63 != result >> 63))
168
if (t1.
_ticks
> t2.
_ticks
) return 1;
169
if (t1.
_ticks
< t2.
_ticks
) return -1;
178
long t = ((TimeSpan)value).
_ticks
;
179
if (
_ticks
> t) return 1;
180
if (
_ticks
< t) return -1;
186
long t = value.
_ticks
;
187
if (
_ticks
> t) return 1;
188
if (
_ticks
< t) return -1;
201
return new TimeSpan(
_ticks
>= 0?
_ticks
: -
_ticks
);
206
return
_ticks
== ((TimeSpan)value).
_ticks
;
213
return
_ticks
== obj.
_ticks
;
217
return t1.
_ticks
== t2.
_ticks
;
221
return (int)
_ticks
^ (int)(
_ticks
>> 32);
251
return new TimeSpan(-
_ticks
);
259
long result =
_ticks
- ts.
_ticks
;
263
if ((
_ticks
>> 63 != ts.
_ticks
>> 63) && (
_ticks
>> 63 != result >> 63))
341
if (t.
_ticks
==TimeSpan.MinValue.
_ticks
)
343
return new TimeSpan(-t.
_ticks
);
359
return t1.
_ticks
== t2.
_ticks
;
363
return t1.
_ticks
!= t2.
_ticks
;
367
return t1.
_ticks
< t2.
_ticks
;
371
return t1.
_ticks
<= t2.
_ticks
;
375
return t1.
_ticks
> t2.
_ticks
;
379
return t1.
_ticks
>= t2.
_ticks
;