1 write to _shutdownToken
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
61
_shutdownToken
= _shutdownNotificationSource.Token;
17 references to _shutdownToken
Microsoft.CodeAnalysis.Features (17)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (17)
79
_shutdownToken
);
84
_semanticChangeProcessor = new UnitTestingSemanticChangeProcessor(listener, _registration, _documentAndProjectWorkerProcessor, semanticBackOffTimeSpan, projectBackOffTimeSpan,
_shutdownToken
);
172
),
_shutdownToken
);
232
=> oce.CancellationToken ==
_shutdownToken
;
353
_shutdownToken
);
367
_shutdownToken
);
381
_shutdownToken
);
387
() => EnqueueFullProjectWorkItemAsync(solution.GetRequiredProject(projectId), invocationReasons),
_shutdownToken
);
399
_shutdownToken
);
420
var oldProjectSourceGeneratedDocuments = await oldProject.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false);
422
var newProjectSourceGeneratedDocuments = await newProject.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false);
449
_shutdownToken
);
455
_shutdownToken
.ThrowIfCancellationRequested();
460
var isLowPriority = priorityService != null && sourceDocument != null && await priorityService.IsLowPriorityAsync(sourceDocument,
_shutdownToken
).ConfigureAwait(false);
507
foreach (var document in await project.GetSourceGeneratedDocumentsAsync(
_shutdownToken
).ConfigureAwait(false))
534
GetRequiredDocument(project, documentId, document),
_shutdownToken
).ConfigureAwait(false);
613
var differenceResult = differenceService.GetDifference(oldDocument, newDocument,
_shutdownToken
);