1 write to _shutdownToken
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
48
_shutdownToken
= _shutdownNotificationSource.Token;
11 references to _shutdownToken
Microsoft.CodeAnalysis.Features (11)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (11)
54
_shutdownToken
);
65
_shutdownToken
);
70
_semanticChangeProcessor = new UnitTestingSemanticChangeProcessor(listener, Registration, _documentAndProjectWorkerProcessor, semanticBackOffTimeSpan, projectBackOffTimeSpan,
_shutdownToken
);
145
=> oce.CancellationToken ==
_shutdownToken
;
300
var oldProjectSourceGeneratedDocuments = await oldProject.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false);
302
var newProjectSourceGeneratedDocuments = await newProject.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false);
334
_shutdownToken
.ThrowIfCancellationRequested();
339
var isLowPriority = priorityService != null && sourceDocument != null && await priorityService.IsLowPriorityAsync(sourceDocument,
_shutdownToken
).ConfigureAwait(false);
386
foreach (var document in await project.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false))
406
GetRequiredDocument(project, documentId, document),
_shutdownToken
).ConfigureAwait(false);
476
var differenceResult = differenceService.GetDifference(oldDocument, newDocument,
_shutdownToken
);