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