1 write to _tokenSource
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\AsynchronousOperationListenerTests.cs (1)
30
=>
_tokenSource
= new CancellationTokenSource();
3 references to _tokenSource
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Utilities\AsynchronousOperationListenerTests.cs (3)
37
_tokenSource
.Cancel();
65
_tokenSource
.Token.ThrowIfCancellationRequested();
68
},
_tokenSource
.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);