1 write to _shutdownToken
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.cs (1)
53_shutdownToken = _shutdownNotificationSource.Token;
19 references to _shutdownToken
Microsoft.CodeAnalysis.Features (19)
SolutionCrawler\WorkCoordinator.cs (19)
63activeFileBackOffTimeSpan, allFilesWorkerBackOffTimeSpan, entireProjectWorkerBackOffTimeSpan, _shutdownToken); 68_semanticChangeProcessor = new SemanticChangeProcessor(listener, _registration, _documentAndProjectWorkerProcessor, semanticBackOffTimeSpan, projectBackOffTimeSpan, _shutdownToken); 137() => EnqueueWorkItemAsync(analyzer, scope, highPriority), _shutdownToken); 191=> oce.CancellationToken == _shutdownToken; 267() => EnqueueDocumentWorkItemAsync(e.Document.Project, e.Document.Id, e.Document, InvocationReasons.DocumentOpened), _shutdownToken); 273() => EnqueueDocumentWorkItemAsync(e.Document.Project, e.Document.Id, e.Document, InvocationReasons.DocumentClosed), _shutdownToken); 300_shutdownToken); 314_shutdownToken); 328_shutdownToken); 334() => EnqueueFullProjectWorkItemAsync(solution.GetRequiredProject(projectId), invocationReasons), _shutdownToken); 346_shutdownToken); 367var oldProjectSourceGeneratedDocuments = await oldProject.GetSourceGeneratedDocumentsAsync(_shutdownToken).ConfigureAwait(false); 369var newProjectSourceGeneratedDocuments = await newProject.GetSourceGeneratedDocumentsAsync(_shutdownToken).ConfigureAwait(false); 396_shutdownToken); 402_shutdownToken.ThrowIfCancellationRequested(); 407var isLowPriority = priorityService != null && sourceDocument != null && await priorityService.IsLowPriorityAsync(sourceDocument, _shutdownToken).ConfigureAwait(false); 454foreach (var document in await project.GetSourceGeneratedDocumentsAsync(_shutdownToken).ConfigureAwait(false)) 473GetRequiredDocument(project, documentId, document), _shutdownToken).ConfigureAwait(false); 547var differenceResult = await differenceService.GetDifferenceAsync(oldDocument, newDocument, _shutdownToken).ConfigureAwait(false);