2 writes to _workspace
Microsoft.CodeAnalysis.EditorFeatures (2)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
182_workspace = workspace; 204_workspace = null;
12 references to _workspace
Microsoft.CodeAnalysis.EditorFeatures (12)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (12)
113=> _workspace?.Services.SolutionServices.GetProjectServices(snapshot.ContentType)?.GetService<IClassificationService>(); 135if (newWorkspace == _workspace) 183_workspace.WorkspaceChanged += this.OnWorkspaceChanged; 184_workspace.DocumentActiveContextChanged += this.OnDocumentActiveContextChanged; 199if (_workspace != null) 201_workspace.WorkspaceChanged -= this.OnWorkspaceChanged; 202_workspace.DocumentActiveContextChanged -= this.OnDocumentActiveContextChanged; 224if (_workspace == null) 228var bufferDocumentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 240if (args.NewSolution.Workspace != _workspace) 246var documentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 357if (spans.Count == 0 || _workspace == null)