3 writes to _touchedTime
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2Properties.cs (3)
53
_touchedTime
= DateTime.Now.Ticks;
131
_touchedTime
= DateTime.Now.Ticks;
184
_touchedTime
= 0;
5 references to _touchedTime
System.Windows.Forms (5)
System\Windows\Forms\ComponentModel\COM2Interop\COM2Properties.cs (5)
107
if (CheckAndGetTarget(checkVersions: false, callDispose: true) is not { } target ||
_touchedTime
== 0)
119
public long TicksSinceTouched =>
_touchedTime
== 0 ? 0 : DateTime.Now.Ticks -
_touchedTime
;
126
if (
_touchedTime
== 0 || _properties is null)
152
return
_touchedTime
!= 0 && TicksSinceTouched > AgeThreshold;