1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\CodeLensCallbackListener.cs (1)
60
_workspace
= workspace;
11 references to _workspace
Microsoft.VisualStudio.LanguageServices (11)
CodeLens\CodeLensCallbackListener.cs (11)
65
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
68
var solution =
_workspace
.CurrentSolution;
71
var projectGuid =
_workspace
.GetProjectGuid(project.Id);
88
var solution =
_workspace
.CurrentSolution;
99
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
120
var solution =
_workspace
.CurrentSolution;
131
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
159
var solution =
_workspace
.CurrentSolution;
167
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
240
if (
_workspace
.GetProjectGuid(candidateId.ProjectId) == projectGuid)
242
var currentContextId =
_workspace
.GetDocumentIdInCurrentContext(candidateId);