1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\CodeLensCallbackListener.cs (1)
56_workspace = workspace;
12 references to _workspace
Microsoft.VisualStudio.LanguageServices (12)
CodeLens\CodeLensCallbackListener.cs (12)
61var service = _workspace.Services.GetRequiredService<ICodeLensReferencesService>(); 64var solution = _workspace.CurrentSolution; 67var projectGuid = _workspace.GetProjectGuid(project.Id); 81var solution = _workspace.CurrentSolution; 89var service = _workspace.Services.GetRequiredService<ICodeLensReferencesService>(); 107var solution = _workspace.CurrentSolution; 115var service = _workspace.Services.GetRequiredService<ICodeLensReferencesService>(); 129var solution = _workspace.CurrentSolution; 137var service = _workspace.Services.GetRequiredService<ICodeLensReferencesService>(); 215if (_workspace.GetProjectGuid(candidateId.ProjectId) == projectGuid) 217var currentContextId = _workspace.GetDocumentIdInCurrentContext(candidateId); 229return _workspace.CurrentSolution.GetDocumentAsync(documentId, includeSourceGenerated: true).AsTask();