26 references to CancellationTokenSource
mscorlib (3)
system\threading\CancellationTokenSource.cs (2)
876CancellationTokenSource linkedTokenSource = new CancellationTokenSource(); 920CancellationTokenSource linkedTokenSource = new CancellationTokenSource();
system\threading\SemaphoreSlim.cs (1)
706new CancellationTokenSource())
System (5)
net\System\Net\WebSockets\ClientWebSocket.cs (1)
49cts = new CancellationTokenSource();
net\System\Net\WebSockets\WebSocketBase.cs (2)
2403linkedCancellationTokenSource = new CancellationTokenSource(); 2408new CancellationTokenSource().Token);
sys\system\collections\concurrent\BlockingCollection.cs (2)
233m_ConsumersCancellationTokenSource = new CancellationTokenSource(); 234m_ProducersCancellationTokenSource = new CancellationTokenSource();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
148this.cancellationTokenSource = new CancellationTokenSource();
System.Core (4)
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
52private readonly CancellationTokenSource m_topLevelCancellationTokenSource = new CancellationTokenSource();
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
144return WithPerExecutionSettings(new CancellationTokenSource(), new Shared<bool>(false));
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
57CancellationTokenSource dummyInternalCancellationTokenSource = new CancellationTokenSource();
System\Linq\ParallelEnumerable.cs (1)
4412.WithPerExecutionSettings(new CancellationTokenSource(), new System.Linq.Parallel.Shared<bool>(false));
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
148this.cancellationTokenSource = new CancellationTokenSource();
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
218CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3071CancellationTokenSource timeoutCTS = new CancellationTokenSource(); 4357CancellationTokenSource timeoutCTS = new CancellationTokenSource();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1227CancellationTokenSource cts = new CancellationTokenSource();
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
124_cancelAsyncOnCloseTokenSource = new CancellationTokenSource(); 4035timeoutCancellationSource = new CancellationTokenSource(); 4129timeoutCancellationSource = new CancellationTokenSource();
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
25_disposalTokenSource = new CancellationTokenSource();
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
34_disposalTokenSource = new CancellationTokenSource();
System.ServiceModel.Internals (1)
System\Runtime\IOThreadCancellationTokenSource.cs (1)
44this.source = new CancellationTokenSource();
System.Web (2)
UI\Page.cs (1)
6006: new CancellationTokenSource();
Util\CancellationTokenHelper.cs (1)
27private readonly CancellationTokenSource _cts = new CancellationTokenSource();