1 write to State
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\CodeModelProjectCache.cs (1)
45
State
= new CodeModelState(threadingContext, serviceProvider, languageServices, workspace, projectFactory);
4 references to State
Microsoft.VisualStudio.LanguageServices.Implementation (4)
CodeModel\CodeModelProjectCache.cs (3)
111
var solution =
State
.Workspace.CurrentSolution;
120
var newFileCodeModel = FileCodeModel.Create(
State
, parent, documentId, isSourceGeneratorOutput: false, new TextManagerAdapter());
152
_rootCodeModel ??= RootCodeModel.Create(
State
, parent, _projectId);
CodeModel\ProjectCodeModel.cs (1)
124
return FileCodeModel.Create(GetCodeModelCache().
State
, parent: null, sourceGeneratedDocument.Id, isSourceGeneratorOutput: true, new TextManagerAdapter()).Handle;