33 references to SolutionChanged
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
174Assert.True(workspace.SetCurrentSolution(_ => project.Solution, WorkspaceChangeKind.SolutionChanged));
Microsoft.CodeAnalysis.EditorFeatures (4)
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
36case WorkspaceChangeKind.SolutionChanged:
Interactive\InteractiveSession.cs (1)
248}, WorkspaceChangeKind.SolutionChanged);
Interactive\InteractiveWorkspace.SolutionAnalyzerSetter.cs (1)
37=> _workspace.SetCurrentSolution(s => s.WithAnalyzerReferences(references), WorkspaceChangeKind.SolutionChanged);
Shared\Preview\PreviewWorkspace.cs (1)
32this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.SolutionChanged, oldSolution, newSolution);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace.cs (1)
818return this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.SolutionChanged, oldSolution, newSolution);
Microsoft.CodeAnalysis.Features (2)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
245case WorkspaceChangeKind.SolutionChanged:
SolutionCrawler\WorkCoordinator.cs (1)
209case WorkspaceChangeKind.SolutionChanged:
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.cs (1)
317: WorkspaceChangeKind.SolutionChanged,
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\ProjectSystem\SolutionChangeAccumulator.cs (3)
18/// <see cref="WorkspaceChangeKind.SolutionChanged"/> if we can't give a more precise type. 68_workspaceChangeKind = WorkspaceChangeKind.SolutionChanged; 113_workspaceChangeKind = WorkspaceChangeKind.SolutionChanged;
Workspace\Workspace.cs (4)
412WorkspaceChangeKind.SolutionChanged); 785}, WorkspaceChangeKind.SolutionChanged); 797}, WorkspaceChangeKind.SolutionChanged); 1192WorkspaceChangeKind.SolutionChanged);
Workspace\WorkspaceChangeKind.cs (1)
133=> kind is >= WorkspaceChangeKind.SolutionChanged and <= WorkspaceChangeKind.AnalyzerConfigDocumentChanged;
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
SolutionTests\SolutionWithSourceGeneratorTests.cs (6)
573Assert.True(workspace.SetCurrentSolution(_ => project.Solution, WorkspaceChangeKind.SolutionChanged)); 597Assert.True(workspace.SetCurrentSolution(_ => project.Solution, WorkspaceChangeKind.SolutionChanged)); 617Assert.True(workspace.SetCurrentSolution(_ => originalAdditionalFile.Project.Solution, WorkspaceChangeKind.SolutionChanged)); 648Assert.True(workspace.SetCurrentSolution(_ => solution, WorkspaceChangeKind.SolutionChanged)); 675Assert.True(workspace.SetCurrentSolution(_ => project.Solution, WorkspaceChangeKind.SolutionChanged)); 704Assert.True(workspace.SetCurrentSolution(_ => project.Solution, WorkspaceChangeKind.SolutionChanged));
Microsoft.VisualStudio.LanguageServices (6)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
99case WorkspaceChangeKind.SolutionChanged:
Packaging\PackageInstallerServiceFactory.cs (1)
445case WorkspaceChangeKind.SolutionChanged:
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
38=> _workspace.ProjectSystemProjectFactory.ApplyChangeToWorkspace(w => w.SetCurrentSolution(s => s.WithAnalyzerReferences(references), WorkspaceChangeKind.SolutionChanged));
StackTraceExplorer\StackTraceExplorerViewModel.cs (1)
113if (e.Kind == WorkspaceChangeKind.SolutionChanged)
TableDataSource\AbstractTable.cs (1)
48case WorkspaceChangeKind.SolutionChanged:
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
283case WorkspaceChangeKind.SolutionChanged:
Microsoft.VisualStudio.LanguageServices.Implementation (3)
SolutionExplorer\AnalyzerItem\AnalyzerItemSource.cs (1)
44case WorkspaceChangeKind.SolutionChanged:
SolutionExplorer\DiagnosticItem\CpsDiagnosticItemSource.cs (1)
89e.Kind == WorkspaceChangeKind.SolutionChanged)
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSource.cs (1)
191new WorkspaceChangeEventArgs(WorkspaceChangeKind.SolutionChanged, solution, _workspace.CurrentSolution));
Roslyn.VisualStudio.Next.UnitTests (1)
Services\SolutionServiceTests.cs (1)
195Assert.True(workspace.SetCurrentSolution(s => SetProjectProperties(s, version: 0), WorkspaceChangeKind.SolutionChanged));