4 writes to m_linkingRegistrations
mscorlib (4)
system\threading\CancellationTokenSource.cs (4)
581
m_linkingRegistrations
= null; // free for GC once we're done enumerating
882
linkedTokenSource.
m_linkingRegistrations
= new CancellationTokenRegistration[token2CanBeCanceled ? 2 : 1]; // there will be at least 1 and at most 2 linkings
891
linkedTokenSource.
m_linkingRegistrations
= new CancellationTokenRegistration[1]; // this will be the only linking
921
linkedTokenSource.
m_linkingRegistrations
= new CancellationTokenRegistration[tokens.Length];
5 references to m_linkingRegistrations
mscorlib (5)
system\threading\CancellationTokenSource.cs (5)
578
var linkingRegistrations =
m_linkingRegistrations
;
883
linkedTokenSource.
m_linkingRegistrations
[0] = token1.InternalRegisterWithoutEC(s_LinkedTokenCancelDelegate, linkedTokenSource);
889
if( linkedTokenSource.
m_linkingRegistrations
== null )
894
linkedTokenSource.
m_linkingRegistrations
[index] = token2.InternalRegisterWithoutEC(s_LinkedTokenCancelDelegate, linkedTokenSource);
927
linkedTokenSource.
m_linkingRegistrations
[i] = tokens[i].InternalRegisterWithoutEC(s_LinkedTokenCancelDelegate, linkedTokenSource);