1 write to NewProjectState
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.TranslationAction.cs (1)
31NewProjectState = newProjectState;
19 references to NewProjectState
Microsoft.CodeAnalysis.Workspaces (19)
Workspace\Solution\SolutionCompilationState.cs (2)
883var newProjectState = compilationTranslationAction.NewProjectState; 1819var newProjectState = compilationTranslationAction.NewProjectState;
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (17)
63return new TouchDocumentsAction(priorAction.OldProjectState, NewProjectState, priorTouchAction._oldStates, _newStates); 95return new TouchAdditionalDocumentsAction(priorAction.OldProjectState, NewProjectState, priorTouchAction._oldStates, _newStates); 122RoslynDebug.AssertNotNull(this.NewProjectState.CompilationOptions); 123return Task.FromResult(oldCompilation.WithOptions(this.NewProjectState.CompilationOptions)); 131=> generatorDriver.WithUpdatedAnalyzerConfigOptions(NewProjectState.ProjectAnalyzerOptions.AnalyzerConfigOptionsProvider); 209using var _ = ArrayBuilder<SyntaxTree>.GetInstance(this.NewProjectState.DocumentStates.Count, out var syntaxTrees); 210foreach (var documentState in this.NewProjectState.DocumentStates.GetStatesInCompilationOrder()) 226RoslynDebug.AssertNotNull(this.NewProjectState.ParseOptions); 227return generatorDriver.WithUpdatedParseOptions(this.NewProjectState.ParseOptions); 244Contract.ThrowIfNull(this.NewProjectState.CompilationOptions); 245return Task.FromResult(oldCompilation.WithOptions(this.NewProjectState.CompilationOptions)); 266=> Task.FromResult(oldCompilation.WithAssemblyName(NewProjectState.AssemblyName)); 366.ReplaceAdditionalTexts(this.NewProjectState.AdditionalDocumentStates.SelectAsArray(static documentState => documentState.AdditionalText)) 367.WithUpdatedParseOptions(this.NewProjectState.ParseOptions!) 368.WithUpdatedAnalyzerConfigOptions(this.NewProjectState.ProjectAnalyzerOptions.AnalyzerConfigOptionsProvider) 369.ReplaceGenerators(GetSourceGenerators(this.NewProjectState)); 380? new ReplaceGeneratorDriverAction(priorAction.OldProjectState, this.NewProjectState, oldGeneratorDriver)