2 writes to _workspace
Microsoft.CodeAnalysis.EditorFeatures (2)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
226_workspace = workspace; 249_workspace = null;
12 references to _workspace
Microsoft.CodeAnalysis.EditorFeatures (12)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (12)
138var workspace = _workspace; 179if (newWorkspace == _workspace) 227_workspace.WorkspaceChanged += this.OnWorkspaceChanged; 228_workspace.DocumentActiveContextChanged += this.OnDocumentActiveContextChanged; 244if (_workspace != null) 246_workspace.WorkspaceChanged -= this.OnWorkspaceChanged; 247_workspace.DocumentActiveContextChanged -= this.OnDocumentActiveContextChanged; 269if (_workspace == null) 273var bufferDocumentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 285if (args.NewSolution.Workspace != _workspace) 291var documentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 413if (spans.Count == 0 || _workspace == null)