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