6 references to GetCodeModelCache
Microsoft.VisualStudio.LanguageServices.Implementation (6)
CodeModel\ProjectCodeModel.cs (6)
75=> GetCodeModelCache().GetFileCodeModelInstances(); 79var handle = GetCodeModelCache()?.GetComHandleForFileCodeModel(fileName); 93=> GetCodeModelCache().GetOrCreateFileCodeModel(filePath); 96=> GetCodeModelCache().GetOrCreateFileCodeModel(filePath, parent); 99=> GetCodeModelCache().GetOrCreateRootCodeModel(parent); 122return FileCodeModel.Create(GetCodeModelCache().State, parent: null, sourceGeneratedDocument.Id, isSourceGeneratorOutput: true, new TextManagerAdapter()).Handle;