1 write to _disposalToken
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
100
_disposalToken
= disposalToken;
7 references to _disposalToken
Microsoft.VisualStudio.LanguageServices (7)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (7)
245
_taskQueue.ScheduleTask("OnSolutionAdded", () => e.OldSolution.ProjectIds.Do(p => ClearBuildOnlyProjectErrors(e.OldSolution, p)),
_disposalToken
);
251
_taskQueue.ScheduleTask("OnSolutionChanged", () => e.OldSolution.ProjectIds.Do(p => ClearBuildOnlyProjectErrors(e.OldSolution, p)),
_disposalToken
);
256
_taskQueue.ScheduleTask("OnProjectChanged", () => ClearBuildOnlyProjectErrors(e.OldSolution, e.ProjectId),
_disposalToken
);
265
_taskQueue.ScheduleTask("OnDocumentRemoved", () => ClearBuildOnlyDocumentErrors(e.OldSolution, e.ProjectId, e.DocumentId),
_disposalToken
);
277
_taskQueue.ScheduleTask("OnDocumentChanged", () => ClearBuildOnlyDocumentErrors(e.OldSolution, e.ProjectId, e.DocumentId),
_disposalToken
);
501
=> state?.CancellationToken ??
_disposalToken
;
531
_stateDoNotAccessDirectly = new InProgressState(this, _workspace.CurrentSolution, _activeCancellationSeriesDoNotAccessDirectly.CreateNext(
_disposalToken
));