64 references to WorkspaceChanged
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
67workspace.WorkspaceChanged += (s, e) => workspaceChanged = true; 1341workspace.WorkspaceChanged += (s, e) =>
Microsoft.CodeAnalysis.EditorFeatures (15)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
183_workspace.WorkspaceChanged += this.OnWorkspaceChanged; 201_workspace.WorkspaceChanged -= this.OnWorkspaceChanged;
EditAndContinue\PdbMatchingSourceTextProvider.cs (2)
40workspace.WorkspaceChanged += WorkspaceChanged; 45workspace.WorkspaceChanged -= WorkspaceChanged;
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
25_workspace.WorkspaceChanged += UpdateProviders;
InlineRename\InlineRenameSession.cs (2)
160_workspace.WorkspaceChanged += OnWorkspaceChanged; 704_workspace.WorkspaceChanged -= OnWorkspaceChanged;
Remote\SolutionChecksumUpdater.cs (2)
73_workspace.WorkspaceChanged += OnWorkspaceChanged; 90_workspace.WorkspaceChanged -= OnWorkspaceChanged;
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (2)
24=> workspace.WorkspaceChanged += OnWorkspaceChanged; 27=> workspace.WorkspaceChanged -= OnWorkspaceChanged;
Shared\Tagging\EventSources\TaggerEventSources.WorkspaceChangedEventSource.cs (2)
40workspace.WorkspaceChanged += OnWorkspaceChanged; 46workspace.WorkspaceChanged -= OnWorkspaceChanged;
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (2)
49workspace.WorkspaceChanged += OnWorkspaceChanged; 52workspace.WorkspaceChanged -= OnWorkspaceChanged;
Microsoft.CodeAnalysis.Features (7)
Diagnostics\BuildOnlyDiagnosticsService.cs (1)
34workspace.WorkspaceChanged += OnWorkspaceChanged;
SolutionCrawler\WorkCoordinator.cs (2)
70_registration.Workspace.WorkspaceChanged += OnWorkspaceChanged; 95_registration.Workspace.WorkspaceChanged -= OnWorkspaceChanged;
Workspace\BackgroundCompiler.cs (2)
43_workspace.WorkspaceChanged += OnWorkspaceChanged; 59workspace.WorkspaceChanged -= OnWorkspaceChanged;
Workspace\BackgroundParser.cs (1)
48_workspace.WorkspaceChanged += OnWorkspaceChanged;
Workspace\CompileTimeSolutionProvider.cs (1)
63workspace.WorkspaceChanged += (s, e) =>
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Workspaces\LspWorkspaceRegistrationService.cs (3)
46workspace.WorkspaceChanged += OnLspWorkspaceChanged; 54workspace.WorkspaceChanged -= OnLspWorkspaceChanged; 72workspace.WorkspaceChanged -= OnLspWorkspaceChanged;
Microsoft.CodeAnalysis.Workspaces (3)
SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
73_workspace.WorkspaceChanged += (_, e) =>
Workspace\Workspace.cs (2)
149/// Sets the <see cref="CurrentSolution"/> of this workspace. This method does not raise a <see cref="WorkspaceChanged"/> event. 160/// cref="WorkspaceChanged"/> event. This method should be used <em>sparingly</em>. As much as possible,
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
WorkspaceExtensions.cs (1)
60workspace.WorkspaceChanged += wew.Wrap<WorkspaceChangeEventArgs>((sender, args) => action(args));
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
WorkspaceTests\AdhocWorkspaceTests.cs (4)
447ws.WorkspaceChanged += (s, args) => 480ws.WorkspaceChanged += (s, args) => 514ws.WorkspaceChanged += (s, args) => 545ws.WorkspaceChanged += (s, args) =>
Microsoft.VisualStudio.LanguageServices (14)
DesignerAttribute\VisualStudioDesignerAttributeService.cs (2)
90_workspace.WorkspaceChanged -= OnWorkspaceChanged; 98_workspace.WorkspaceChanged += OnWorkspaceChanged;
Implementation\VirtualMemoryNotificationListener.cs (1)
59_workspace.WorkspaceChanged += OnWorkspaceChanged;
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (2)
56Workspace.WorkspaceChanged += OnWorkspaceChanged; 76=> this.Workspace.WorkspaceChanged -= OnWorkspaceChanged;
Packaging\PackageInstallerServiceFactory.cs (1)
236Workspace.WorkspaceChanged += OnWorkspaceChanged;
Progression\GraphQueryManager.cs (1)
56_workspace.WorkspaceChanged += (_, _) => _updateQueue.AddWork();
StackTraceExplorer\StackTraceExplorerViewModel.cs (1)
60workspace.WorkspaceChanged += Workspace_WorkspaceChanged;
TableDataSource\AbstractTable.cs (1)
33=> Workspace.WorkspaceChanged += OnWorkspaceChanged;
TableDataSource\OpenDocumentTracker.cs (1)
26_workspace.WorkspaceChanged += OnWorkspaceChanged;
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
103_workspace.WorkspaceChanged += OnWorkspaceChanged;
ValueTracking\ValueTrackingToolWindow.cs (1)
74_workspace.WorkspaceChanged += OnWorkspaceChanged;
Workspace\SourceGeneratedFileManager.cs (2)
271_workspace.WorkspaceChanged += OnWorkspaceChanged; 296_workspace.WorkspaceChanged -= OnWorkspaceChanged;
Microsoft.VisualStudio.LanguageServices.Implementation (11)
CodeModel\ProjectCodeModelFactory.cs (1)
73_visualStudioWorkspace.WorkspaceChanged += OnWorkspaceChanged;
SolutionExplorer\AnalyzerItem\AnalyzerItemSource.cs (3)
36_analyzersFolder.Workspace.WorkspaceChanged += Workspace_WorkspaceChanged; 51_analyzersFolder.Workspace.WorkspaceChanged -= Workspace_WorkspaceChanged; 67_analyzersFolder.Workspace.WorkspaceChanged -= Workspace_WorkspaceChanged;
SolutionExplorer\DiagnosticItem\BaseDiagnosticAndGeneratorItemSource.cs (3)
87Workspace.WorkspaceChanged += OnWorkspaceChangedLookForOptionsChanges; 137Workspace.WorkspaceChanged -= OnWorkspaceChangedLookForOptionsChanges; 143Workspace.WorkspaceChanged -= OnWorkspaceChangedLookForOptionsChanges;
SolutionExplorer\DiagnosticItem\CpsDiagnosticItemSource.cs (2)
42Workspace.WorkspaceChanged += OnWorkspaceChangedLookForAnalyzer; 59Workspace.WorkspaceChanged -= OnWorkspaceChangedLookForAnalyzer;
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSource.cs (2)
184_workspace.WorkspaceChanged += OnWorkpaceChanged; 209_workspace.WorkspaceChanged -= OnWorkpaceChanged;
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (2)
InProcess\EditorVerifierInProcess.cs (2)
306workspace.WorkspaceChanged += eventHandler; 357_workspace.WorkspaceChanged -= _eventHandler;
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
ProjectSystemShim\Framework\WorkspaceChangeWatcher.vb (2)
23AddHandler environment.Workspace.WorkspaceChanged, AddressOf OnWorkspaceChanged 40RemoveHandler _environment.Workspace.WorkspaceChanged, AddressOf OnWorkspaceChanged