13 references to Workspace
Microsoft.VisualStudio.LanguageServices.Implementation (13)
CodeModel\CodeTypeRef.cs (1)
77var project = Workspace.CurrentSolution.GetProject(_projectId);
CodeModel\Collections\OverloadsCollection.cs (2)
61var solution = this.Workspace.CurrentSolution; 77var fileCodeModelObject = this.Workspace.GetFileCodeModel(document.Id);
CodeModel\Collections\PartialTypeCollection.cs (2)
52var solution = this.Workspace.CurrentSolution; 60var fileCodeModelObject = this.Workspace.GetFileCodeModel(document.Id);
CodeModel\FileCodeModel.cs (4)
114_previousDocument = Workspace.CurrentSolution.GetDocument(_documentId); 287_invisibleEditor = Workspace.OpenInvisibleEditor(GetDocumentId()); 415() => Workspace.CurrentSolution.GetSourceGeneratedDocumentAsync(GetDocumentId(), CancellationToken.None).AsTask()); 419document = Workspace.CurrentSolution.GetDocument(GetDocumentId());
CodeModel\FileCodeModel_Events.cs (1)
64if (!projectCodeModel.TryGetCachedFileCodeModel(this.Workspace.GetFilePath(GetDocumentId()), out _))
CodeModel\InternalElements\AbstractCodeElement.cs (1)
248CodeModelService.Rename(LookupSymbol(), newName, this.Workspace, this.State.ProjectCodeModelFactory);
CodeModel\RootCodeModel.cs (1)
40=> Workspace.CurrentSolution.GetProject(_projectId);
CodeModel\TextManagerAdapter.cs (1)
22var hierarchyOpt = fileCodeModel.Workspace.GetHierarchy(document.Project.Id);