1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\CodeLensCallbackListener.cs (1)
64
_workspace
= workspace;
11 references to _workspace
Microsoft.VisualStudio.LanguageServices (11)
CodeLens\CodeLensCallbackListener.cs (11)
70
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
73
var solution =
_workspace
.CurrentSolution;
76
var projectGuid =
_workspace
.GetProjectGuid(project.Id);
93
var solution =
_workspace
.CurrentSolution;
104
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
125
var solution =
_workspace
.CurrentSolution;
136
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
164
var solution =
_workspace
.CurrentSolution;
172
var service =
_workspace
.Services.GetRequiredService<ICodeLensReferencesService>();
245
if (
_workspace
.GetProjectGuid(candidateId.ProjectId) == projectGuid)
247
var currentContextId =
_workspace
.GetDocumentIdInCurrentContext(candidateId);