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();