1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
102_workspace = workspace;
10 references to _workspace
Microsoft.VisualStudio.LanguageServices (10)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (10)
103_workspace.WorkspaceChanged += OnWorkspaceChanged; 106_buildOnlyDiagnosticsService = _workspace.Services.GetRequiredService<IBuildOnlyDiagnosticsService>(); 183await ClearErrorsCoreAsync(projectId, _workspace.CurrentSolution, state).ConfigureAwait(false); 322var registrationService = (SolutionCrawlerRegistrationService)_workspace.Services.GetRequiredService<ISolutionCrawlerRegistrationService>(); 323registrationService.EnsureRegistration(_workspace, initializeLazily: false); 377return diagnosticService.SynchronizeWithBuildAsync(_workspace, pendingLiveErrorsToSync, _postBuildAndErrorListRefreshTaskQueue, onBuildCompleted: true, cancellationToken); 494return diagnosticAnalyzerService.SynchronizeWithBuildAsync(_workspace, map, _postBuildAndErrorListRefreshTaskQueue, onBuildCompleted: false, cancellationToken); 531_stateDoNotAccessDirectly = new InProgressState(this, _workspace.CurrentSolution, _activeCancellationSeriesDoNotAccessDirectly.CreateNext(_disposalToken)); 543CreateArgumentKey(id), _workspace, solution, projectId, documentId, items)); 550CreateArgumentKey(id), _workspace, solution, projectId, documentId));