CancellationTokenRegistration GetTokenReg () { CancellationTokenRegistration registration = new CancellationTokenRegistration (Interlocked.Increment (ref currId), this); return registration; } }