1 write to _cancellationTokenSource
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
202_cancellationTokenSource = new CancellationTokenSource();
3 references to _cancellationTokenSource
Microsoft.CodeAnalysis.LanguageServer (3)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (3)
221_registrationTask = changeWatcher._clientLanguageServerManager.SendRequestAsync("client/registerCapability", registrationParams, _cancellationTokenSource.Token).AsTask(); 222_registrationTask.ReportNonFatalErrorUnlessCancelledAsync(_cancellationTokenSource.Token).CompletesAsyncOperation(asyncToken); 229_cancellationTokenSource.Cancel();