1 write to NewProjectState
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.TranslationAction.cs (1)
31
NewProjectState
= newProjectState;
15 references to NewProjectState
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\Solution\SolutionCompilationState.cs (2)
902
var newProjectState = compilationTranslationAction.
NewProjectState
;
1836
var newProjectState = compilationTranslationAction.
NewProjectState
;
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (13)
38
var newState =
NewProjectState
.DocumentStates.GetState(documentId);
68
priorUpdateAction.OldProjectState,
NewProjectState
, priorUpdateAction._documentIds.Union(_documentIds));
100
return new TouchAdditionalDocumentsAction(priorAction.OldProjectState,
NewProjectState
, priorTouchAction._oldStates, _newStates);
127
RoslynDebug.AssertNotNull(this.
NewProjectState
.CompilationOptions);
128
return oldCompilation.WithOptions(this.
NewProjectState
.CompilationOptions);
136
=> generatorDriver.WithUpdatedAnalyzerConfigOptions(
NewProjectState
.ProjectAnalyzerOptions.AnalyzerConfigOptionsProvider);
189
using var _ = ArrayBuilder<SyntaxTree>.GetInstance(this.
NewProjectState
.DocumentStates.Count, out var syntaxTrees);
190
foreach (var documentState in this.
NewProjectState
.DocumentStates.GetStatesInCompilationOrder())
206
RoslynDebug.AssertNotNull(this.
NewProjectState
.ParseOptions);
207
return generatorDriver.WithUpdatedParseOptions(this.
NewProjectState
.ParseOptions);
224
Contract.ThrowIfNull(this.
NewProjectState
.CompilationOptions);
225
return oldCompilation.WithOptions(this.
NewProjectState
.CompilationOptions);
246
=> oldCompilation.WithAssemblyName(
NewProjectState
.AssemblyName);