5 writes to _timer
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (5)
214_timer = new TimerQueueTimer(s_timerCallback, this, millisecondsDelay, Timeout.InfiniteTimeSpan, flowExecutionContext: false); 220_timer = timeProvider.CreateTimer(s_timerCallback, this, millisecondsDelay, Timeout.InfiniteTimeSpan); 448ITimer? currentTimer = Interlocked.CompareExchange(ref _timer, timer, null); 549_timer = null; 717_timer = null;
6 references to _timer
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (6)
440ITimer? timer = _timer; 493bool reset = _timer is null || 494(_timer is TimerQueueTimer timer && timer.Change(Timeout.UnsignedInfinite, Timeout.UnsignedInfinite) && !timer._everQueued); 546ITimer? timer = _timer; 707/// <remarks>If it successfully transitions, it will also have disposed of <see cref="_timer"/> and set <see cref="_kernelEvent"/>.</remarks> 714ITimer? timer = _timer;