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