1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\CodeLensCallbackListener.cs (1)
61
_workspace
= workspace;
11 references to _workspace
Microsoft.VisualStudio.LanguageServices (11)
CodeLens\CodeLensCallbackListener.cs (11)
66
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
69
var solution =
_workspace
.CurrentSolution;
72
var projectGuid =
_workspace
.GetProjectGuid(project.Id);
89
var solution =
_workspace
.CurrentSolution;
100
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
121
var solution =
_workspace
.CurrentSolution;
132
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
160
var solution =
_workspace
.CurrentSolution;
168
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
241
if (
_workspace
.GetProjectGuid(candidateId.ProjectId) == projectGuid)
243
var currentContextId =
_workspace
.GetDocumentIdInCurrentContext(candidateId);