13 references to Workspace
Microsoft.VisualStudio.LanguageServices.Implementation (13)
CodeModel\CodeTypeRef.cs (1)
77
var project =
Workspace
.CurrentSolution.GetProject(_projectId);
CodeModel\Collections\OverloadsCollection.cs (2)
61
var solution = this.
Workspace
.CurrentSolution;
77
var fileCodeModelObject = this.
Workspace
.GetFileCodeModel(document.Id);
CodeModel\Collections\PartialTypeCollection.cs (2)
52
var solution = this.
Workspace
.CurrentSolution;
60
var 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());
419
document =
Workspace
.CurrentSolution.GetDocument(GetDocumentId());
CodeModel\FileCodeModel_Events.cs (1)
64
if (!projectCodeModel.TryGetCachedFileCodeModel(this.
Workspace
.GetFilePath(GetDocumentId()), out _))
CodeModel\InternalElements\AbstractCodeElement.cs (1)
248
CodeModelService.Rename(LookupSymbol(), newName, this.
Workspace
, this.State.ProjectCodeModelFactory);
CodeModel\RootCodeModel.cs (1)
40
=>
Workspace
.CurrentSolution.GetProject(_projectId);
CodeModel\TextManagerAdapter.cs (1)
22
var hierarchyOpt = fileCodeModel.
Workspace
.GetHierarchy(document.Project.Id);