4 references to CancellationToken
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (1)
111
public CancellationToken(bool canceled) :
this
(canceled ? CancellationTokenSource.s_canceledSource : null)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenRegistration.cs (1)
102
new
CancellationToken
(node.Registrations.Source) : // avoid CTS.Token, which throws after disposal
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (2)
86
return new
CancellationToken
(this);
999
((Action<object?, CancellationToken>)d)(state, new
CancellationToken
(source));