1 write to Workspace
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\CodeModelState.cs (1)
48this.Workspace = workspace;
11 references to Workspace
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
645var project = state.Workspace.CurrentSolution.GetProject(projectId);
Microsoft.VisualStudio.LanguageServices.Implementation (10)
CodeModel\AbstractCodeModelObject.cs (1)
73get { return this.State.Workspace; }
CodeModel\AbstractCodeModelService.cs (2)
271var project = state.Workspace.CurrentSolution.GetProject(projectId); 620var fileCodeModel = state.Workspace.GetFileCodeModel(chosenDocumentId);
CodeModel\CodeModelProjectCache.cs (1)
109var solution = State.Workspace.CurrentSolution;
CodeModel\CodeTypeRef.cs (1)
51if (CodeModelService.ResolveSymbol(this.State.Workspace, _projectId, _symbolId) is not ITypeSymbol typeSymbol)
CodeModel\Collections\ExternalMemberCollection.cs (1)
47var project = this.State.Workspace.CurrentSolution.GetProject(_projectId);
CodeModel\Collections\ExternalNamespaceEnumerator.cs (1)
61var project = state.Workspace.CurrentSolution.GetProject(projectId);
CodeModel\ExternalElements\AbstractExternalCodeElement.cs (2)
36var project = this.State.Workspace.CurrentSolution.GetProject(this.ProjectId); 48var symbol = CodeModelService.ResolveSymbol(this.State.Workspace, this.ProjectId, this.SymbolKey);
CodeModel\FileCodeModel.cs (1)
161var project = this.State.Workspace.CurrentSolution.GetProject(_incomingProjectId);