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