11 references to InternalRegisterWithoutEC
mscorlib (11)
system\threading\CancellationTokenSource.cs (3)
883
linkedTokenSource.m_linkingRegistrations[0] = token1.
InternalRegisterWithoutEC
(s_LinkedTokenCancelDelegate, linkedTokenSource);
894
linkedTokenSource.m_linkingRegistrations[index] = token2.
InternalRegisterWithoutEC
(s_LinkedTokenCancelDelegate, linkedTokenSource);
927
linkedTokenSource.m_linkingRegistrations[i] = tokens[i].
InternalRegisterWithoutEC
(s_LinkedTokenCancelDelegate, linkedTokenSource);
system\threading\ManualResetEventSlim.cs (1)
631
using (cancellationToken.
InternalRegisterWithoutEC
(s_cancellationTokenCallback, this))
system\threading\SemaphoreSlim.cs (1)
339
CancellationTokenRegistration cancellationTokenRegistration = cancellationToken.
InternalRegisterWithoutEC
(s_cancellationTokenCanceledEventHandler, this);
system\threading\Tasks\Parallel.cs (3)
1085
ctr = parallelOptions.CancellationToken.
InternalRegisterWithoutEC
((o) =>
1400
ctr = parallelOptions.CancellationToken.
InternalRegisterWithoutEC
((o) =>
3251
ctr = parallelOptions.CancellationToken.
InternalRegisterWithoutEC
((o) =>
system\threading\Tasks\Task.cs (3)
703
ctr = cancellationToken.
InternalRegisterWithoutEC
(s_taskCancelCallback, this);
710
ctr = cancellationToken.
InternalRegisterWithoutEC
(s_taskCancelCallback,
5890
promise.Registration = cancellationToken.
InternalRegisterWithoutEC
(state => ((DelayPromise)state).Complete(), promise);