1 write to NewSolution
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionChanges.cs (1)
21NewSolution = newSolution;
15 references to NewSolution
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Workspaces\EditorTestWorkspace.cs (2)
532foreach (var (docId, _) in solutionChanges.NewSolution.CompilationState.FrozenSourceGeneratedDocumentStates.States) 534var document = solutionChanges.NewSolution.GetRequiredSourceGeneratedDocumentForAlreadyGeneratedId(docId);
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\Solution\SolutionChanges.cs (11)
27foreach (var id in NewSolution.ProjectIds) 31yield return NewSolution.GetRequiredProject(id); 41foreach (var id in NewSolution.ProjectIds) 43var newState = NewSolution.GetProjectState(id); 47yield return NewSolution.GetRequiredProject(id).GetChanges(OldSolution.GetRequiredProject(id)); 56if (!NewSolution.ContainsProject(id)) 66foreach (var analyzerReference in NewSolution.AnalyzerReferences) 77var newAnalyzerReferences = new HashSet<AnalyzerReference>(NewSolution.AnalyzerReferences); 97if (NewSolution.CompilationState.FrozenSourceGeneratedDocumentStates.IsEmpty) 101foreach (var (id, _) in NewSolution.CompilationState.FrozenSourceGeneratedDocumentStates.States) 108return NewSolution.CompilationState.FrozenSourceGeneratedDocumentStates.GetChangedStateIds(
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
629foreach (var (docId, state) in solutionChanges.NewSolution.CompilationState.FrozenSourceGeneratedDocumentStates.States) 638var newDocument = solutionChanges.NewSolution.GetRequiredSourceGeneratedDocumentForAlreadyGeneratedId(docId);