From f3b110fcca12523247651ec8ee76789a46031fac Mon Sep 17 00:00:00 2001 From: Koundinya Veluri Date: Fri, 22 Feb 2019 11:59:38 -0800 Subject: [PATCH] Remove Timer _id from CoreCLR implementation (followup to https://github.com/dotnet/corert/pull/7071) --- .../src/System/Threading/Timer.CoreCLR.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs index 83b13b408d5c..fa4dae5c5d2d 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs @@ -59,15 +59,8 @@ protected override bool ReleaseHandle() } } - private readonly int _id; // TimerQueues[_id] == this - private AppDomainTimerSafeHandle m_appDomainTimer; - private TimerQueue(int id) - { - _id = id; - } - [MethodImpl(MethodImplOptions.AggressiveInlining)] private bool SetTimer(uint actualDuration) {