1 write to _newProjectState
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.CompilationAndGeneratorDriverTranslationAction_Actions.cs (1)
321
_newProjectState
= newProjectState;
4 references to _newProjectState
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\SolutionState.CompilationAndGeneratorDriverTranslationAction_Actions.cs (4)
330
var generatorDriver = _oldGeneratorDriver.ReplaceAdditionalTexts(
_newProjectState
.AdditionalDocumentStates.SelectAsArray(static documentState => documentState.AdditionalText))
331
.WithUpdatedParseOptions(
_newProjectState
.ParseOptions!)
332
.WithUpdatedAnalyzerConfigOptions(
_newProjectState
.AnalyzerOptions.AnalyzerConfigOptionsProvider)
333
.ReplaceGenerators(
_newProjectState
.SourceGenerators.ToImmutableArray());